[Bug]: NU1701 - Package restore errors should mention which dependant package it came from #11758
Labels
Area:ErrorHandling
warnings and errors/log messages & related error codes.
Functionality:Restore
Priority:3
Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.
Product:dotnet.exe
Type:Bug
NuGet Product Used
dotnet.exe
Product Version
6.1.0.103
Worked before?
No response
Impact
It bothers me. A fix would be nice
Repro Steps & Context
dotnet restore
and nuget in Visual Studio 2022.In my project I have
SkiaSharp.Views.WindowsForms
package, which depends on OpenTK (>= 3.1.0), OpenTK.GLControl (>= 3.1.0).My project itself also depended on OpenTK.GLControl, while attempting an upgrade I briefly uninstalled this package, but nuget keeps saying that it fails to restore it.
It's not obvious that it's still trying to restore it because another package depends on it. This error message should print the dependency path.
Verbose Logs
GUI.csproj
does not have a reference to this package directly.The text was updated successfully, but these errors were encountered: