File tree 3 files changed +7
-5
lines changed
3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 3
3
<DefaultNetCoreTargetFramework>${DefaultNetCoreTargetFramework}</DefaultNetCoreTargetFramework>
4
4
<ArtifactsShippingPackagesDir>${ArtifactsShippingPackagesDir}</ArtifactsShippingPackagesDir>
5
5
<TreatWarningsAsErrors Condition="'$(BuildingInsideVisualStudio)' != 'true'">true</TreatWarningsAsErrors>
6
+ <LibNetHostAppPackVersion Condition=" '$(LibNetHostAppPackVersion)' == '' ">${LibNetHostAppPackVersion}</LibNetHostAppPackVersion>
6
7
7
8
<!-- Temporarily hardcoded to true -->
8
9
<SuppressGenerateILCompilerExplicitPackageReferenceWarning>true</SuppressGenerateILCompilerExplicitPackageReferenceWarning>
Original file line number Diff line number Diff line change 25
25
MicrosoftNETCoreAppRefVersion=$(MicrosoftNETCoreAppRefVersion);
26
26
MicrosoftNETCoreAppRuntimeVersion=$(MicrosoftNETCoreAppRuntimeVersion);
27
27
MicrosoftPlaywrightCLIVersion=$(MicrosoftPlaywrightCLIVersion);
28
+ LibNetHostAppPackVersion=$(BundledNETCoreAppPackageVersion);
28
29
SupportedRuntimeIdentifiers=$([MSBuild]::Escape($(SupportedRuntimeIdentifiers)));
29
30
ArtifactsShippingPackagesDir=$(ArtifactsShippingPackagesDir)
30
31
</_TemplateProperties >
Original file line number Diff line number Diff line change 9
9
<HostArch Condition =" '$(Platform)' == 'Win32'" >x86</HostArch >
10
10
<HostArch Condition =" '$(Platform)' == 'AnyCPU'" >x64</HostArch >
11
11
<HostArch Condition =" '$(DotNetBuild)' == 'true'" >$(TargetArchitecture)</HostArch >
12
- <LibNetHostPath >$(NuGetPackageRoot)microsoft.netcore.app.host.win-$(HostArch)\$(MicrosoftNETCoreAppRefVersion )\runtimes\win-$(HostArch)\native</LibNetHostPath >
12
+ <LibNetHostPath >$(NuGetPackageRoot)microsoft.netcore.app.host.win-$(HostArch)\$(LibNetHostAppPackVersion )\runtimes\win-$(HostArch)\native</LibNetHostPath >
13
13
<!-- This tools version MUST match the same version as runtime uses to compile libnethost.lib -->
14
14
<PlatformToolsetVersion >143</PlatformToolsetVersion >
15
15
</PropertyGroup >
16
16
17
17
<!-- Platform is different during restore than during build. Therefore, restore everything when not building the product. -->
18
18
<ItemGroup Condition =" '$(MSBuildProjectExtension)' == '.vcxproj' and '$(DotNetBuild)' != 'true'" >
19
- <PackageReference Include =" Microsoft.NETCore.App.Host.win-x64" Version =" [$(MicrosoftNETCoreAppRefVersion )]" PrivateAssets =" all" ExcludeAssets =" all" />
20
- <PackageReference Include =" Microsoft.NETCore.App.Host.win-x86" Version =" [$(MicrosoftNETCoreAppRefVersion )]" PrivateAssets =" all" ExcludeAssets =" all" />
21
- <PackageReference Include =" Microsoft.NETCore.App.Host.win-arm64" Version =" [$(MicrosoftNETCoreAppRefVersion )]" PrivateAssets =" all" ExcludeAssets =" all" />
19
+ <PackageReference Include =" Microsoft.NETCore.App.Host.win-x64" Version =" [$(LibNetHostAppPackVersion )]" PrivateAssets =" all" ExcludeAssets =" all" />
20
+ <PackageReference Include =" Microsoft.NETCore.App.Host.win-x86" Version =" [$(LibNetHostAppPackVersion )]" PrivateAssets =" all" ExcludeAssets =" all" />
21
+ <PackageReference Include =" Microsoft.NETCore.App.Host.win-arm64" Version =" [$(LibNetHostAppPackVersion )]" PrivateAssets =" all" ExcludeAssets =" all" />
22
22
</ItemGroup >
23
23
24
24
<ItemGroup Condition =" '$(MSBuildProjectExtension)' == '.vcxproj' and '$(DotNetBuild)' == 'true'" >
25
- <PackageReference Include =" Microsoft.NETCore.App.Host.win-$(TargetArchitecture)" Version =" [$(MicrosoftNETCoreAppRefVersion )]" PrivateAssets =" all" ExcludeAssets =" all" />
25
+ <PackageReference Include =" Microsoft.NETCore.App.Host.win-$(TargetArchitecture)" Version =" [$(LibNetHostAppPackVersion )]" PrivateAssets =" all" ExcludeAssets =" all" />
26
26
</ItemGroup >
27
27
28
28
</Project >
You can’t perform that action at this time.
0 commit comments