Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve unresolved reference warning #3955
When resolving project references through DTE NuGet writes out a warning when the reference is unresolved since it may be a project reference and this could impact the restore result.
In 3.5.0 these were written out while walking the root project and traversing through child projects.
In 4.0.0 these are written out while generating the package spec for a project individually. This is more efficient but the result is that warnings now show up in scenarios where they are not part of a p2p closure. They also do not list the root project that is affected since that is not know until later.
This should be improved by setting a bool in the package spec restore metadata declaring that the project had issues resolving references. The reader putting together the p2p closure can then provide a complete warning message, or it can skip the warning if the project is not part of a closure.