В настоящее время у меня установлена DNVM v1.0.0-beta4-10356, но в этой версии нет команды dnvm update-self
.
Как установить последнюю доступную версию DNVM?
Я попробовал эту команду как страницу ASP.NET 5 GitHub:
&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}
Он выполняет следующее:
Using temporary directory: C:\Users\Dave\AppData\Local\Temp\dnvminstall
Downloading DNVM.ps1 to C:\Users\Dave\AppData\Local\Temp\dnvminstall\dnvm.ps1
Downloading DNVM.cmd to C:\Users\Dave\AppData\Local\Temp\dnvminstall\dnvm.cmd
Installing DNVM
Installing .NET Version Manager to C:\Users\Dave\.dnx\bin
Installing 'dnvm.ps1' to 'C:\Users\Dave\.dnx\bin' ...
Skipping: file already exists
Installing 'dnvm.cmd' to 'C:\Users\Dave\.dnx\bin' ...
Skipping: file already exists
Adding C:\Users\Dave\.dnx\bin to Process PATH
Adding C:\Users\Dave\.dnx\bin to User PATH
Adding C:\Users\Dave\.dnx to Process DNX_HOME
Adding C:\Users\Dave\.dnx to User DNX_HOME
Но при запуске dnvm help
я вижу, что остаюсь на той же версии.