[英]Get all installed nuget dependencies via nuget.exe
I'd like to read all installed dependencies via nuget.exe
of a specific project / solution. 我想通过特定项目/解决方案的
nuget.exe
读取所有已安装的依赖nuget.exe
。 I am aware, that this is working via Get-Package
command via the NuGet Package Manager Console, but as i want to run this in a powershell command, i'd like to have access to it via nuget.exe directly. 我知道,这是通过NuGet软件包管理器控制台通过
Get-Package
命令运行的,但是由于我想在powershell命令中运行此命令,因此我想直接通过nuget.exe访问它。
nuget list
only lists the available packages of a source, not of my dependencies. nuget list
仅列出源的可用软件包,而不列出我的依赖项。
In documentation for latest recommended version 4.6.2
there isn't any information that it can be possible to list packages from solution or appsettings.json
. 在最新推荐版本
4.6.2
文档中,没有任何信息可以列出来自solution或appsettings.json
软件包。 You can use only Powershell interface. 您只能使用Powershell界面。
Documentation: https://docs.microsoft.com/en-us/nuget/tools/nuget-exe-cli-reference 文档: https : //docs.microsoft.com/zh-cn/nuget/tools/nuget-exe-cli-reference
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.