我发现NuGet允许自1.4版以来的代理设置配置.但是,我找不到任何命令行示例.
我正在尝试运行一些构建,NuGet无法连接.
如何在命令行中配置代理设置?
我正在使用Visual Studio Express 2013.
在尝试安装nuget软件包时,我收到错误(在2012年快递中尝试时没有错误):
PM> Install-Package AutoMapper
Install-Package : Unable to connect to the remote server
At line:1 char:16
+ Install-Package <<<< AutoMapper
+ CategoryInfo : NotSpecified: (:) [Install-Package], WebException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Run Code Online (Sandbox Code Playgroud)
互联网正在运行(我有Vs 2012工作和同时安装nuget包 - 没有问题).
VS - >工具 - >扩展和更新说:Cannot check for updates because the following error(s) occurred whil trying to contact the server: Unable to connect to the remote server - please click here to retry the request- 当我点击它时,它会回到"检索信息"循环.
有没有人有任何想法如何解决这个问题?
谢谢,马克
突然之间,NuGet停止了所有项目的工作.我在办公室的4台不同的电脑上试过了,所有电脑都停止了工作.
如果我去"管理NuGet包",则在Online > nuget.org选择节点时会显示"找不到项目" .
这是我上次检查时的工作,突然间它停了下来.有任何想法吗?
我正在使用Visual Studio 2013.我尝试从工具和扩展中删除并重新安装NuGet,但无济于事.