We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2400ef commit 0ff8b7bCopy full SHA for 0ff8b7b
src/Directory.Build.props
@@ -45,6 +45,8 @@
45
<GeneratePathProperty>true</GeneratePathProperty>
46
<!-- Avoid warnings for test projects when we run dotnet pack on the whole solution. -->
47
<WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
48
+ <!-- See https://learn.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files#prunepackagereference-specification -->
49
+ <RestoreEnablePackagePruning>true</RestoreEnablePackagePruning>
50
</PropertyGroup>
51
52
<PropertyGroup Label="Build">
0 commit comments