NoWarn=NU1511 doesn't work on a ProjectReference #14121
Labels
Category:Quality Week
Issues that should be considered for quality week
Functionality:Restore
Priority:2
Issues for the current backlog.
Type:Bug
There are cases where we want to reference a project that is inbox in a given framework which will emit a NU1511 warning as the direct P2P can't be pruned from the restore graph. This is fine as in such a case, it shouldn't be pruned. It would be great if we could NoWarn this warning just for that single P2P so that we still get others flagged.
Example
a.csproj
b.csproj
@nkolev92 maybe NoWarn on an item is only supported for
PackageReference
and notProjectReference
?The text was updated successfully, but these errors were encountered: