【发布时间】:2017-05-14 07:37:51
【问题描述】:
今天 nuget 发生了什么?他们出去了吗?我无法使用 VS 下载所有内容,甚至浏览器也无法下载
https://api.nuget.org/packages/entityframework.6.1.3.nupkg
浏览器返回:
无法访问此站点 api.nuget.org 的服务器 DNS 地址可能 找不到。尝试运行 Windows 网络诊断。
VS 返回:
Error occured:\nAn error occurred while sending the request.
包管理器控制台返回:
install-package : An error occurred while sending the request.
At line:1 char:1
+ install-package entityframework
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
有什么想法吗?请帮忙。谢谢
【问题讨论】:
-
尝试谷歌 DNS 服务器:developers.google.com/speed/public-dns
-
运行命令“ping api.nuget.org”会有什么结果?
标签: visual-studio nuget package-managers