NuGet 包管理器卡在“检索信息..."上;在 VS 2013 上 [英] NuGet Package manager stuck on "Retrieving information..." on VS 2013
问题描述
使用安装了 NuGet 包管理器的 VS 2013,我可以查看所有已安装的包,但是当我选择更新"或在线"时,我会看到一个无休止的忙碌指示器,显示正在检索信息..."
Using VS 2013 with NuGet Package Manager installed, I can view all Installed packages, but when I pick Updates or Online, I get an endless busy indicator showing "Retrieving information..."
我已确认我的连接良好.我卸载/重新安装了 NuGet 包管理器.
I've verified I have a good connection. I uninstalled/reinstalled NuGet Package Manager.
还有其他建议吗?
谢谢
推荐答案
我正在使用 VS 2013,但所有建议的解决方案都失败了.我通过应用以下方法解决了这个问题:
I'm using VS 2013 and all of suggested solutions has failed. I solved the problem by applying the following method :
- 在 Visual Studio 中打开包管理器控制台
- 类型:
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bOR [Net.SecurityProtocolType]::Tls12
这会将连接安全协议更改为本文中指定的 nuget:在 NuGet.org 上弃用 TLS 1.0 和 1.1
This will change the connection security protocol to nuget as specified in this article: Deprecating TLS 1.0 and 1.1 on NuGet.org
这篇关于NuGet 包管理器卡在“检索信息..."上;在 VS 2013 上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!