[英]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. 我想递归列出所有nuget包及其依赖项。 Project is in VS2017 and .NET Core. 项目位于VS2017和.NET Core中。
I tried with Get-Package -ProjectName "Your.Project.Name"
it displays all the nuget packages in project. 我尝试使用Get-Package -ProjectName "Your.Project.Name"
来显示项目中的所有nuget包。 I want all the dependencies also printed. 我希望所有依赖项也都打印出来。
You can use the dotnet cli: dotnet list package --include-transitive
. 您可以使用dotnet cli: dotnet list package --include-transitive
。 The dotnet-outdated global tool probably has similar functionality. dotnet已过时的全局工具可能具有类似的功能。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.