Pavan
Pavan

Reputation: 1083

List all the nuget packages with "dependencies recursively" for a given project/Solution for .NET Core project in VS2017

I want to list down all the nuget packages along with its dependencies recursively. Project is in VS2017 and .NET Core.

I tried with Get-Package -ProjectName "Your.Project.Name" it displays all the nuget packages in project. I want all the dependencies also printed.

Upvotes: 42

Views: 21805

Answers (1)

zivkan
zivkan

Reputation: 14961

You can use the dotnet cli: dotnet list package --include-transitive. The dotnet-outdated global tool probably has similar functionality.

Upvotes: 58

Related Questions