Skip to content

Commit be0818c

Browse files
authored
Try PackageReference instead of PackageDownload
1 parent 5acb6d9 commit be0818c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Servers/IIS/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</PropertyGroup>
1515

1616
<ItemGroup Condition="'$(MSBuildProjectExtension)' == '.vcxproj'">
17-
<PackageDownload Include="Microsoft.NETCore.App.Host.win-$(HostArch)" Version="[$(MicrosoftNETCoreAppRefVersion)]" />
17+
<ProjectReference Include="Microsoft.NETCore.App.Host.win-$(HostArch)" Version="$(MicrosoftNETCoreAppRefVersion)" PrivateAssets="all" ExcludeAssets="all" />
1818
</ItemGroup>
1919

2020
</Project>

0 commit comments

Comments
 (0)