mar*_*are 40 .net asp.net-mvc nuget asp.net-mvc-3
根据这个http://docs.nuget.org/docs/start-here/using-the-package-manager-console,我应该看到PM提示和命令get-packages
应该工作.使用我的VS2010,程序包管理器控制台提示符说
PS E:\myprojectfolder
Run Code Online (Sandbox Code Playgroud)
并且没有任何命令工作 - 它发出错误说:
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
Run Code Online (Sandbox Code Playgroud)
有任何想法吗?
Dan*_*eny 34
不是投票结束并在评论中留下答案,而是将其作为实际答案发布,以便有问题的其他人在搜索结果中看到一个已回答的问题,而不是未答复的问题:-)
复制自评论:
重新启动计算机和VS以某种方式解决了这个问题,关闭
是的我以前见过这个问题(没有加载NuGet模块)
这个问题出现在NuGet问题跟踪器上,虽然已关闭(目前)
归档时间: |
|
查看次数: |
30720 次 |
最近记录: |