【发布时间】:2018-03-11 12:26:21
【问题描述】:
我的计算机上有两个版本的 Visual Studio(2013 和 2015),由于我安装了 VS2013,它无法连接到任何 nuget.org 包源。
我没有通过代理连接到互联网。
我已经尝试在两个版本的 Visual Studio 中清理 nuget 缓存并重新安装 nuget 包管理器。
C:\Users{user}\AppData\Roaming\NuGet\nuget.Config:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<activePackageSource>
<add key="nuget.org" value="https://www.nuget.org/api/v2/" />
</activePackageSource>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>
当我尝试恢复或安装任何软件包时,VS 一直在加载,几分钟后消息是:
使用 VS2015:
[nuget.org] 无法加载源 https://api.nuget.org/v3/index.json 的服务索引。 Error al enviar la solicitud。 没有可能的 conectar con el servidor remoto。
Se produjo un error durante el intento de conectada no respondió adecuadamente tras un periodo de tiempo, o bien se produjo un error en la conectado establecida ya que el host conectado no ha podido responder 10.115.8.100:8080
使用 VS2013:
无法连接到远程服务器
【问题讨论】:
标签: visual-studio-2013 visual-studio-2015 nuget