按照页面上的步骤操作:http://dotnet.github.io/core/getting-started/在提升的PowerShell控制台上(Windows 10):
&{$Branch='dev';iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}
正确下载并安装。
dnvm install -r coreclr latest -u
返回错误:
Determining latest version
Unable to find any runtime packages on the feed!
At C:\Users\softw\.dnx\bin\dnvm.ps1:552 char:9
+ throw "Unable to find any runtime packages on the feed!"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Unable to find ...es on the feed!:String) [], RuntimeException
+ FullyQualifiedErrorId : Unable to find any runtime packages on the feed!
我设法通过运行dmvm list
并按照要求安装dmx来使其正常工作。
我做错了什么或文件是否过时了?
答案 0 :(得分:0)
只需从命令中删除latest
:
dnvm install -r coreclr -u
如果需要最新的稳定位,请删除-u
。 -u
表示不稳定/开发Feed。