2011-11-21 4 views
4

패키지 관리자 콘솔에서 "List-Package"를 실행하고 Nuget 패키지에서 다음 오류가 발생했습니다. Nuget List-Package Error

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 

나는 결과에 내가 볼 수없는 "목록-패키지를"가능한 모든 Nuget commands.But를 볼 수 있습니다-도움 Nuget을 입력했습니다.

List-Package 명령이 더 이상 최신 버전의 Nuget에서 지원되지 않으므로이 오류가 발생합니까? List-Package 대신 Get-package list-package 명령을 사용해야 할 수도 있습니다.

이 오류의 원인은 무엇입니까?

답변