Visual Studio 2017无法连接到Nuget

时间:2017-04-20 13:14:12

标签: nuget visual-studio-2017 nuget-server

我有问题, 当我试图管理Nuget包时,VS2017向我展示了这条消息:

[nuget.org] Unable to load the service index for source https://api.nuget.org/v3/index.json. 
  An error occurred while sending the request.
  The underlying connection was closed: An unexpected error occurred on a    send.
  Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
  A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

请你能帮我解决这个问题吗? 我要疯了 谢谢

1 个答案:

答案 0 :(得分:3)

这是VS 2017中的一个错误。(我有同样的问题)。这已在VS 15.1版中修复。要解决此问题,请通过vs_Community.exe安装程序更新您的VS(可以下载here)。