NuGet Warning NU1511 (original) (raw)

In this article

Scenario 1

A ProjectReference cannot be pruned, X.

Issue

The project id X has been specified for pruning through the PrunePackageReference feature. Pruning of projects is not supported.

Solution

Note

In order to allow for easier adoption of the PrunePackageReference feature, this warning is raised by default when a project targets the .NET 10 framework or newer.


Feedback

Was this page helpful?

No

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?