nuget 远程名称无法解析:”nuget.org“

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

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

解决办法:

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

157.56.8.150 nuget.org

原文地址:https://www.cnblogs.com/comsokey/p/nuget.html