|
7 | 7 | </PropertyGroup>
|
8 | 8 |
|
9 | 9 | <ItemGroup>
|
10 |
| - <Platforms Include="x64;x86;arm64" /> |
11 |
| - <RuntimeInstallers Include="$(DepsPath)dotnet-runtime-$(MicrosoftNETCoreAppRuntimeVersion)-win-x64.exe"> |
12 |
| - <TargetPlatform>x64</TargetPlatform> |
| 10 | + <RuntimeInstallers Include="$(DepsPath)dotnet-runtime-$(MicrosoftNETCoreAppRuntimeVersion)-win-x64.msi"> |
13 | 11 | <BundleNameProperty>DotNetRedistLtsInstallerx64</BundleNameProperty>
|
14 |
| - <Version>$(MicrosoftNETCoreAppRuntimeVersion)</Version> |
15 | 12 | </RuntimeInstallers>
|
16 |
| - <RuntimeInstallers Include="$(DepsPath)dotnet-runtime-$(MicrosoftNETCoreAppRuntimeVersion)-win-x86.exe"> |
17 |
| - <TargetPlatform>x86</TargetPlatform> |
| 13 | + <RuntimeInstallers Include="$(DepsPath)dotnet-runtime-$(MicrosoftNETCoreAppRuntimeVersion)-win-x86.msi"> |
18 | 14 | <BundleNameProperty>DotNetRedistLtsInstallerx86</BundleNameProperty>
|
19 |
| - <Version>$(MicrosoftNETCoreAppRuntimeVersion)</Version> |
20 | 15 | </RuntimeInstallers>
|
21 |
| - <RuntimeInstallers Include="$(DepsPath)dotnet-runtime-$(MicrosoftNETCoreAppRuntimeVersion)-win-arm64.exe"> |
22 |
| - <TargetPlatform>arm64</TargetPlatform> |
| 16 | + <RuntimeInstallers Include="$(DepsPath)dotnet-runtime-$(MicrosoftNETCoreAppRuntimeVersion)-win-arm64.msi"> |
23 | 17 | <BundleNameProperty>DotNetRedistLtsInstallerarm64</BundleNameProperty>
|
24 |
| - <Version>$(MicrosoftNETCoreAppRuntimeVersion)</Version> |
| 18 | + </RuntimeInstallers> |
| 19 | + <RuntimeInstallers Include="$(DepsPath)dotnet-host-$(MicrosoftNETCoreAppRuntimeVersion)-win-x64.msi"> |
| 20 | + <BundleNameProperty>DotNetRedistHostInstallerx64</BundleNameProperty> |
| 21 | + </RuntimeInstallers> |
| 22 | + <RuntimeInstallers Include="$(DepsPath)dotnet-host-$(MicrosoftNETCoreAppRuntimeVersion)-win-x86.msi"> |
| 23 | + <BundleNameProperty>DotNetRedistHostInstallerx86</BundleNameProperty> |
| 24 | + </RuntimeInstallers> |
| 25 | + <RuntimeInstallers Include="$(DepsPath)dotnet-host-$(MicrosoftNETCoreAppRuntimeVersion)-win-arm64.msi"> |
| 26 | + <BundleNameProperty>DotNetRedistHostInstallerarm64</BundleNameProperty> |
| 27 | + </RuntimeInstallers> |
| 28 | + <RuntimeInstallers Include="$(DepsPath)dotnet-hostfxr-$(MicrosoftNETCoreAppRuntimeVersion)-win-x64.msi"> |
| 29 | + <BundleNameProperty>DotNetRedistHostfxrInstallerx64</BundleNameProperty> |
| 30 | + </RuntimeInstallers> |
| 31 | + <RuntimeInstallers Include="$(DepsPath)dotnet-hostfxr-$(MicrosoftNETCoreAppRuntimeVersion)-win-x86.msi"> |
| 32 | + <BundleNameProperty>DotNetRedistHostfxrInstallerx86</BundleNameProperty> |
| 33 | + </RuntimeInstallers> |
| 34 | + <RuntimeInstallers Include="$(DepsPath)dotnet-hostfxr-$(MicrosoftNETCoreAppRuntimeVersion)-win-arm64.msi"> |
| 35 | + <BundleNameProperty>DotNetRedistHostfxrInstallerarm64</BundleNameProperty> |
25 | 36 | </RuntimeInstallers>
|
26 | 37 | </ItemGroup>
|
27 | 38 |
|
|
32 | 43 | <Target Name="CollectDependencies" BeforeTargets="Restore;CollectPackageReferences">
|
33 | 44 | <!-- Use the BrowserDebugHost as a sentinel for the nonshipping version for NETCoreApp. -->
|
34 | 45 | <ItemGroup>
|
35 |
| - <RemoteAsset Include="$(MicrosoftNETCoreBrowserDebugHostTransportVersion)/dotnet-runtime-$(MicrosoftNETCoreAppRuntimeVersion)-win-x64.exe"> |
36 |
| - <TargetFileName>dotnet-runtime-$(MicrosoftNETCoreAppRuntimeVersion)-win-x64.exe</TargetFileName> |
| 46 | + <RemoteAsset Include="$(MicrosoftNETCoreBrowserDebugHostTransportVersion)/dotnet-runtime-$(MicrosoftNETCoreAppRuntimeVersion)-win-x64.msi"> |
| 47 | + <TargetFileName>dotnet-runtime-$(MicrosoftNETCoreAppRuntimeVersion)-win-x64.msi</TargetFileName> |
| 48 | + </RemoteAsset> |
| 49 | + <RemoteAsset Include="$(MicrosoftNETCoreBrowserDebugHostTransportVersion)/dotnet-runtime-$(MicrosoftNETCoreAppRuntimeVersion)-win-x86.msi"> |
| 50 | + <TargetFileName>dotnet-runtime-$(MicrosoftNETCoreAppRuntimeVersion)-win-x86.msi</TargetFileName> |
| 51 | + </RemoteAsset> |
| 52 | + <RemoteAsset Include="$(MicrosoftNETCoreBrowserDebugHostTransportVersion)/dotnet-runtime-$(MicrosoftNETCoreAppRuntimeVersion)-win-arm64.msi"> |
| 53 | + <TargetFileName>dotnet-runtime-$(MicrosoftNETCoreAppRuntimeVersion)-win-arm64.msi</TargetFileName> |
| 54 | + </RemoteAsset> |
| 55 | + <RemoteAsset Include="$(MicrosoftNETCoreBrowserDebugHostTransportVersion)/dotnet-host-$(MicrosoftNETCoreAppRuntimeVersion)-win-x64.msi"> |
| 56 | + <TargetFileName>dotnet-host-$(MicrosoftNETCoreAppRuntimeVersion)-win-x64.msi</TargetFileName> |
37 | 57 | </RemoteAsset>
|
38 |
| - <RemoteAsset Include="$(MicrosoftNETCoreBrowserDebugHostTransportVersion)/dotnet-runtime-$(MicrosoftNETCoreAppRuntimeVersion)-win-x86.exe"> |
39 |
| - <TargetFileName>dotnet-runtime-$(MicrosoftNETCoreAppRuntimeVersion)-win-x86.exe</TargetFileName> |
| 58 | + <RemoteAsset Include="$(MicrosoftNETCoreBrowserDebugHostTransportVersion)/dotnet-host-$(MicrosoftNETCoreAppRuntimeVersion)-win-x86.msi"> |
| 59 | + <TargetFileName>dotnet-host-$(MicrosoftNETCoreAppRuntimeVersion)-win-x86.msi</TargetFileName> |
40 | 60 | </RemoteAsset>
|
41 |
| - <RemoteAsset Include="$(MicrosoftNETCoreBrowserDebugHostTransportVersion)/dotnet-runtime-$(MicrosoftNETCoreAppRuntimeVersion)-win-arm64.exe"> |
42 |
| - <TargetFileName>dotnet-runtime-$(MicrosoftNETCoreAppRuntimeVersion)-win-arm64.exe</TargetFileName> |
| 61 | + <RemoteAsset Include="$(MicrosoftNETCoreBrowserDebugHostTransportVersion)/dotnet-host-$(MicrosoftNETCoreAppRuntimeVersion)-win-arm64.msi"> |
| 62 | + <TargetFileName>dotnet-host-$(MicrosoftNETCoreAppRuntimeVersion)-win-arm64.msi</TargetFileName> |
| 63 | + </RemoteAsset> |
| 64 | + <RemoteAsset Include="$(MicrosoftNETCoreBrowserDebugHostTransportVersion)/dotnet-hostfxr-$(MicrosoftNETCoreAppRuntimeVersion)-win-x64.msi"> |
| 65 | + <TargetFileName>dotnet-hostfxr-$(MicrosoftNETCoreAppRuntimeVersion)-win-x64.msi</TargetFileName> |
| 66 | + </RemoteAsset> |
| 67 | + <RemoteAsset Include="$(MicrosoftNETCoreBrowserDebugHostTransportVersion)/dotnet-hostfxr-$(MicrosoftNETCoreAppRuntimeVersion)-win-x86.msi"> |
| 68 | + <TargetFileName>dotnet-hostfxr-$(MicrosoftNETCoreAppRuntimeVersion)-win-x86.msi</TargetFileName> |
| 69 | + </RemoteAsset> |
| 70 | + <RemoteAsset Include="$(MicrosoftNETCoreBrowserDebugHostTransportVersion)/dotnet-hostfxr-$(MicrosoftNETCoreAppRuntimeVersion)-win-arm64.msi"> |
| 71 | + <TargetFileName>dotnet-hostfxr-$(MicrosoftNETCoreAppRuntimeVersion)-win-arm64.msi</TargetFileName> |
43 | 72 | </RemoteAsset>
|
44 | 73 | </ItemGroup>
|
45 | 74 |
|
|
74 | 103 | <Output TaskParameter="Value" PropertyName="%(RuntimeInstallers.BundleNameProperty)"/>
|
75 | 104 | </CreateProperty>
|
76 | 105 |
|
77 |
| - <!-- Decompile the bundles so that we can extract the MSI and read their version information. We need this to author ExePackage@DetectCondition |
78 |
| - in the bundles that chain the runtime bundles --> |
79 |
| - <Exec Command="$(DarkToolPath) -x $(DotNetDarkOutputPath)\%(RuntimeInstallers.Version)\%(TargetPlatform) %(Identity)" /> |
80 |
| - |
81 |
| - <ItemGroup> |
82 |
| - <DotNetPayload Include="$(DotNetDarkOutputPath)\$(MicrosoftNETCoreAppRuntimeVersion)\%(Platforms.Identity)\AttachedContainer\**\dotnet-host-*win-*.msi"> |
83 |
| - <ProductVersionProperty>DotNetRedistLtsInstallerProductVersion%(Platforms.Identity)</ProductVersionProperty> |
84 |
| - <ProductCodeProperty>DotNetRedistLtsInstallerProductCode%(Platforms.Identity)</ProductCodeProperty> |
85 |
| - <UpgradeCodeProperty>DotNetRedistLtsInstallerUpgradeCode%(Platforms.Identity)</UpgradeCodeProperty> |
86 |
| - </DotNetPayload> |
87 |
| - </ItemGroup> |
88 |
| - |
89 |
| - <!-- Read MSI properties --> |
90 |
| - <GetMsiProperty InstallPackage="%(DotNetPayload.Identity)" Property="ProductVersion"> |
91 |
| - <Output TaskParameter="Value" PropertyName="%(ProductVersionProperty)" /> |
92 |
| - </GetMsiProperty> |
93 |
| - <GetMsiProperty InstallPackage="%(DotNetPayload.Identity)" Property="ProductCode"> |
94 |
| - <Output TaskParameter="Value" PropertyName="%(ProductCodeProperty)" /> |
95 |
| - </GetMsiProperty> |
96 |
| - <GetMsiProperty InstallPackage="%(DotNetPayload.Identity)" Property="UpgradeCode"> |
97 |
| - <Output TaskParameter="Value" PropertyName="%(UpgradeCodeProperty)" /> |
98 |
| - </GetMsiProperty> |
99 |
| - |
100 | 106 | <PropertyGroup>
|
101 | 107 | <DefineConstants>$(DefineConstants);DotNetRedistLtsInstallerx64=$(DotNetRedistLtsInstallerx64)</DefineConstants>
|
102 |
| - <DefineConstants>$(DefineConstants);DotNetRedistLtsInstallerProductVersionx64=$(DotNetRedistLtsInstallerProductVersionx64)</DefineConstants> |
103 |
| - <DefineConstants>$(DefineConstants);DotNetRedistLtsInstallerProductCodex64=$(DotNetRedistLtsInstallerProductCodex64)</DefineConstants> |
104 |
| - <DefineConstants>$(DefineConstants);DotNetRedistLtsInstallerUpgradeCodex64=$(DotNetRedistLtsInstallerUpgradeCodex64)</DefineConstants> |
105 | 108 | <DefineConstants>$(DefineConstants);DotNetRedistLtsInstallerx86=$(DotNetRedistLtsInstallerx86)</DefineConstants>
|
106 |
| - <DefineConstants>$(DefineConstants);DotNetRedistLtsInstallerProductVersionx86=$(DotNetRedistLtsInstallerProductVersionx86)</DefineConstants> |
107 |
| - <DefineConstants>$(DefineConstants);DotNetRedistLtsInstallerProductCodex86=$(DotNetRedistLtsInstallerProductCodex86)</DefineConstants> |
108 |
| - <DefineConstants>$(DefineConstants);DotNetRedistLtsInstallerUpgradeCodex86=$(DotNetRedistLtsInstallerUpgradeCodex86)</DefineConstants> |
109 | 109 | <DefineConstants>$(DefineConstants);DotNetRedistLtsInstallerarm64=$(DotNetRedistLtsInstallerarm64)</DefineConstants>
|
110 |
| - <DefineConstants>$(DefineConstants);DotNetRedistLtsInstallerProductVersionarm64=$(DotNetRedistLtsInstallerProductVersionarm64)</DefineConstants> |
111 |
| - <DefineConstants>$(DefineConstants);DotNetRedistLtsInstallerProductCodearm64=$(DotNetRedistLtsInstallerProductCodearm64)</DefineConstants> |
112 |
| - <DefineConstants>$(DefineConstants);DotNetRedistLtsInstallerUpgradeCodearm64=$(DotNetRedistLtsInstallerUpgradeCodearm64)</DefineConstants> |
| 110 | + <DefineConstants>$(DefineConstants);DotNetRedistHostInstallerx64=$(DotNetRedistHostInstallerx64)</DefineConstants> |
| 111 | + <DefineConstants>$(DefineConstants);DotNetRedistHostInstallerx86=$(DotNetRedistHostInstallerx86)</DefineConstants> |
| 112 | + <DefineConstants>$(DefineConstants);DotNetRedistHostInstallerarm64=$(DotNetRedistHostInstallerarm64)</DefineConstants> |
| 113 | + <DefineConstants>$(DefineConstants);DotNetRedistHostfxrInstallerx64=$(DotNetRedistHostfxrInstallerx64)</DefineConstants> |
| 114 | + <DefineConstants>$(DefineConstants);DotNetRedistHostfxrInstallerx86=$(DotNetRedistHostfxrInstallerx86)</DefineConstants> |
| 115 | + <DefineConstants>$(DefineConstants);DotNetRedistHostfxrInstallerarm64=$(DotNetRedistHostfxrInstallerarm64)</DefineConstants> |
113 | 116 | </PropertyGroup>
|
114 | 117 | </Target>
|
115 | 118 | </Project>
|
0 commit comments