2017-04-20 81 views
1

我有一个问题, 当我试图管理的NuGet软件包VS2017给我这个消息:的Visual Studio 2017年无法连接到的NuGet

[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

我想你最好联系MS支持。除此之外,我会尝试检查是否可以从浏览器访问所提到的URL,如果不能,请尝试理解原因。 – ivanmoskalev

回答

2

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

相关问题