我正在使用 Visual Studio Express 2013。
尝试安装 nuget 包时,出现错误(在 2012 express 中尝试时没有错误):
PM> Install-Package AutoMapper
Install-Package : Unable to connect to the remote server
At line:1 char:16
+ Install-Package <<<< AutoMapper
+ CategoryInfo : NotSpecified: (:) [Install-Package], WebException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
互联网正在工作(我有 Vs 2012 工作并同时安装 nuget 包 - 没有问题)。
VS -> Tools -> Extensions and Updates 说:Cannot check for updates because the following error(s) occurred whil trying to contact the server: Unable to connect to the remote server - please click here to retry the request
- 当我点击它时,它会回到“检索信息”循环。
有谁知道如何解决这个问题?
谢谢你,马克