English 中文(简体)
Nuget List-Package Error
原标题:Nuget List-Package Error

我试图在包裹管理人员中执行“List-Package”,并在Nuget包裹中发现错误。

The term  List-Package  is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
 verify that the path is correct and try again.

At line:1 char:13
+ List-Package <<<< 
    + CategoryInfo          : ObjectNotFound: (List-Package:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

i) 帮助Nget,看看所有现有的Nuget指挥部。 但不能因此看到“List-Package”。

之所以出现这一错误,是因为List-Package 不再支持最新版本的Nuget? 或许我们需要使用“指挥系统” 包装清单:代替List-Package

what is causing this error?

问题回答

<编码> 名单-Package是不正确的指挥名称。

You should use Get-Package command

详见docs.nuget.org





相关问题
NuGet and distributed version control (DVCS)

I wonder if it is possible to use nuget to only store references to the required packages in version control (only the package.config and ignore the packages folder). Is there a way to tell nuget to (...

Package Manager Console issues

I installed Asp.net MVC 3 beta which also installs NuPack, but when I open a project in Visual Studio 2010 Express, the Package Manager Console gives me this error message: System.TypeLoadException: ...

热门标签