Skip to content

Commit

Permalink
React to NuGet package pruning warnings
Browse files Browse the repository at this point in the history
Contributes to dotnet/sdk#46642

NuGet added a new feature that automatically prunes package and project references that are provided by the shared framework that is targeted.

Resolve the one warning that got emitted when source-building the repository.
  • Loading branch information
ViktorHofer authored Feb 10, 2025
1 parent 55fb946 commit 287f933
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.ObjectPool" />
<PackageReference Include="System.Collections.Immutable" />
<PackageReference Include="System.Collections.Immutable" Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'" />
</ItemGroup>

<ItemGroup Label="String Resources">
Expand Down

0 comments on commit 287f933

Please sign in to comment.