Unexpected NU1605 from transitive reference that was never selected (pruned subgraph) #10972
Labels
Area:ErrorHandling
warnings and errors/log messages & related error codes.
Category:Quality Week
Issues that should be considered for quality week
Functionality:Restore
Priority:2
Issues for the current backlog.
Style:PackageReference
Type:Bug
Milestone
Details about Problem
NuGet product used (NuGet.exe | Visual Studio | MSBuild.exe | dotnet.exe): NuGet CLI 5.9.1, VS 16.10.2
Repro steps and/or sample project
Using the provided solution:
ReproUnexpectedNU1605.zip
nuget restore -ForceEvaluate ReproUnexpectedNU1605.sln
-> fails withHigh level description
When restoring, as you'd expect it NuGet resolves C 1.1. HOWEVER, it then complains that the direct reference to System.Memory 4.5.2 is incompatible with the chain of references coming from C 1.0. This feels like a bug to me (but also maybe I'm misunderstanding some nuance of the restore logic?).
Verbose Logs
The text was updated successfully, but these errors were encountered: