Skip to content

Commit 43c30fe

Browse files
authored
Use LKG version for microsoft.netcore.app.host
Trying to unblock dotnet/sdk#47480
1 parent d42bdf6 commit 43c30fe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Servers/IIS/Directory.Build.props

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@
99
<HostArch Condition="'$(Platform)' == 'Win32'">x86</HostArch>
1010
<HostArch Condition="'$(Platform)' == 'AnyCPU'">x64</HostArch>
1111
<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)\$(BundledNETCoreAppPackageVersion)\runtimes\win-$(HostArch)\native</LibNetHostPath>
1313
<!-- This tools version MUST match the same version as runtime uses to compile libnethost.lib -->
1414
<PlatformToolsetVersion>143</PlatformToolsetVersion>
1515
</PropertyGroup>
1616

1717
<!-- Platform is different during restore than during build. Therefore, restore everything when not building the product. -->
1818
<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="[$(BundledNETCoreAppPackageVersion)]" PrivateAssets="all" ExcludeAssets="all" />
20+
<PackageReference Include="Microsoft.NETCore.App.Host.win-x86" Version="[$(BundledNETCoreAppPackageVersion)]" PrivateAssets="all" ExcludeAssets="all" />
21+
<PackageReference Include="Microsoft.NETCore.App.Host.win-arm64" Version="[$(BundledNETCoreAppPackageVersion)]" PrivateAssets="all" ExcludeAssets="all" />
2222
</ItemGroup>
2323

2424
<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="[$(BundledNETCoreAppPackageVersion)]" PrivateAssets="all" ExcludeAssets="all" />
2626
</ItemGroup>
2727

2828
</Project>

0 commit comments

Comments
 (0)