NuGet VS 2012 ServicePointManager 不支持使用 https 方案的代理
我最近从 VS2012 RC 升级到 RTM,自从升级到 RTM,我无法再访问 nuget.我在管理 NuGet 包"窗口中收到以下错误.
I have recently upgraded from VS2012 RC to RTM, and since the upgrade to RTM, I can no longer access nuget. I receive the following error in the Manage NuGet Packages window.
The ServicePointManager does not support proxies with the https scheme.
我在上一个堆栈溢出问题中查看了此处提供的解决方案,但它不适用于我,因为我不在防火墙后面(当然不应该被 http://whatismyipaddress.com/proxy-check).我还可以看到 RSS 提要/VS 可以访问其他网络资源,在上一个问题中,问题与所有 VS 互联网流量有关,而不仅仅是 NuGet,就我而言.
I looked at the solution offered here in a previous stack overflow question, but it does not apply to me as I am not behind a firewall (certainly not supposed to be and verified by http://whatismyipaddress.com/proxy-check). I can also see the RSS feeds / VS can access other network resources, which in the previous question the problem was related to all VS internet traffic not just NuGet as it is in my case.
任何想法可能导致这种情况,或如何恢复对 NuGet 的访问?我在工作的机器上和家里的个人电脑上都试过这个,都是一样的效果.
Any ideas what could have caused this, or how to restore access to NuGet? I have tried this on my machines at work, and my personal computer at home, all with the same effect.
解决方案在这个答案中:
The solution is in this answer:
Visual Studio 2010 nuget 错误: 底层连接已关闭:无法为 SSL/TLS 安全通道建立信任关系
该问题与默认 Nuget 包源上的错误 SSL 证书有关.
The problem is related to a bad SSL cert on the default Nuget package source.