【发布时间】:2015-11-16 18:27:58
【问题描述】:
我正在关注this guide,了解如何使用 asp.net 5 进行设置
从命令行运行命令dnvm upgrade -r clr会拉回
Invoke-Command : Unable to find any runtime packages on the feed!
At C:\Program Files\Microsoft DNX\Dnvm\dnvm.ps1:1905 char:23
+ Invoke-Command <<<< ([ScriptBlock]::Create("dnvm-$cmd $cmdargs"))
+ CategoryInfo : OperationStopped: (Unable to find ...es on the f
eed!:String) [Invoke-Command], RuntimeException
+ FullyQualifiedErrorId : Unable to find any runtime packages on the feed!
,Microsoft.PowerShell.Commands.InvokeCommandCommand
我已经下载了最新的 power shell 脚本from here。
对我可能遗漏的东西有什么想法吗?
这与代理身份验证有关,但我不确定需要在哪里添加。
【问题讨论】:
-
你使用什么 DNVM 版本?
-
@VictorHurdugaci 运行 dnvm -v 产生 v1.0.0-beta5-10384
-
那很老了。按照此处的说明安装最新版本:github.com/aspnet/home
-
@VictorHurdugaci DNVM 更新命令在尝试运行时返回 407 Proxy Authentication required 消息。我会在问题中截图
-
要么像 github 页面上描述的那样手动获取文件,要么使用 -Proxy 选项更新自我