Nuget列表包错误

Nuget列表包错误,nuget,nuget-package,Nuget,Nuget Package,我试图在PackageManager控制台中执行“List Package”,并在Nuget Package中获得以下错误 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 p

我试图在PackageManager控制台中执行“List Package”,并在Nuget Package中获得以下错误

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
术语“列表包”不能识别为cmdlet、函数、脚本文件或可操作程序的名称。检查名称的拼写,或者是否包含路径,
请验证路径是否正确,然后重试。
第1行字符:13

+列表包
列表包
的命令名不正确

您应该使用
Get Package
命令