Skip to content

NuGet why should show full graph and transitive pinning impact #14616

@ericstj

Description

@ericstj

NuGet Product(s) Involved

dotnet.exe

The Elevator Pitch

NuGet why is useful for understanding why a package, and a specific version of a package is referenced. It needs to help people understand the actual versions referenced and why. Today it's only showing the result after transitive pinning is applied. Instead it should show the full graph without transitive pinning applied, and also show that transitive pinning will create the implicit direct reference to a higher version. It should also show other transitively pinned packages if those packages introduce the new version of the package in question.

Additional Context and Details

I regularly try to help folks understand dependency graphs, and nuget why is an invaluable tool. I've found though that I need to fallback to cracking open the assets files in these cases involving transitive pinning. It would be good if they can be visualized.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions