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

posted on 2012-09-05 13:49  CosmoKey  阅读(531)  评论(0编辑  收藏  举报

导航