Where to find 'dnu' command in Windows

前端 未结 5 1578
醉酒成梦
醉酒成梦 2021-01-31 13:42

I have recently installed Visual Studio 2015 RC. I\'m trying to figure out the new .NET Core thing...

Now I want to package my application and launch it. I wanted to pla

相关标签:
5条回答
  • 2021-01-31 13:55

    If dnvm is recognised then you can issue the following command;

    dnvm use 1.0.0-rc1-update1

    this will ensure the clr/x86 version of DNX is added to your PATH.

    0 讨论(0)
  • 2021-01-31 13:59

    It's actually a PATH problem. The reason why it couldn't regconise the dnu or dnx commands because it could not locate the dnu.exe, and dnx.exe... batch command files.

    You can solve it either by adding manually C:\Users\.dnx\runtimes\dnx-clr-win-x86.1.0.0-rc1-update1\bin to user PATH, or run "dnvm upgrade" in your cmd

    0 讨论(0)
  • 2021-01-31 14:13

    It should be in %userprofile%\.dnx\runtimes\<runtime name>\bin.

    If it is not on the path, run dnvm upgrade. If dnvm is not recognized, install it by following the instruction on the Home repo

    0 讨论(0)
  • 2021-01-31 14:15

    It could solve to run command prompt with administrator mode.

    0 讨论(0)
  • 2021-01-31 14:16

    You Could try and run dnvm upgrade Command in your cmd.

    0 讨论(0)
提交回复
热议问题