我试图在包裹管理人员中执行“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?