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