我使用的是 Visual Studio Express 2013.
I'm using Visual Studio Express 2013.
尝试安装 nuget 包时,出现错误(在 2012 express 中尝试时没有错误):
When trying to install a nuget package, I am getting an error (no error when trying in 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 包 - 没有问题).
Internet is working (I have Vs 2012 working and installing nuget packages at the same time - with no issues).
VS -> 工具 -> 扩展和更新说:无法检查更新,因为在尝试联系服务器时发生以下错误:无法连接到远程服务器 - 请单击此处重试请求 - 当我点击它时,它会回到检索信息"循环.
VS -> Tools -> Extensions and Updates says: 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 - when I click that, it goes back to the "retrieving information" loop.
有人知道如何解决这个问题吗?
Does anyone have any ideas how to resolve this?
谢谢你,马克
推荐答案我遇到了同样的问题.如果我在启动 VS 时选择以管理员身份运行",我就可以从 VS2013 连接到 NuGet.
I had the same problem. I was able to connect to NuGet from VS2013 if I select "Run As Administrator" when launching VS.
更多推荐
Nuget 包管理器在 VS Express 2013 中不起作用
发布评论