windows 8 在使用nuget时,有时会出现‘the remote name could not be resolved: 'nuget.org'’

原因:DNS异常,无法解析nuget.org域名

解决办法:

只需要在host文件中加入如下内容:

157.56.8.150 nuget.org

相关文章: