我无法通过Nuget Command安装Angularjs。我正在使用Vs 2015。
PM> Install-Package angularjs
Install-Package : Unable to find package 'angularjs'
At line:1 char:1
+ Install-Package angularjs
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Time Elapsed: 00:00:00.1923506
答案 0 :(得分:0)
见下文链接证明您正在执行正确的命令 - https://www.nuget.org/packages/angularjs/
我需要确保一件事确保在Package Manager控制台中运行命令时选择All in Package Source可能是您忘记选择的。见下图 -