根據這http://docs.nuget.org/docs/start-here/using-the-package-manager-console我應該看到PM提示和像get-packages
命令應該工作。隨着我的VS2010的軟件包管理器控制檯提示說包管理器控制檯不工作
PS E:\myprojectfolder
,並沒有命令的工作 - 它會發出一個錯誤說:
PS E:\project> get-package -ListAvailable
The term 'get-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 co
rrect and try again.
At line:1 char:12
+ get-package <<<< -ListAvailable
+ CategoryInfo : ObjectNotFound: (get-package:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
任何想法?
重新啓動計算機並VS某種程度上解決了這個問題,收盤。 – mare
刪除領先空間。 – davidfowl
這不是問題,問題是我甚至沒有看到PM提示 – mare