Where to find 'dnu' command in Windows

若如初见. 提交于 2019-12-02 17:23:00

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

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

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

It could solve to run command prompt with administrator mode.

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.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!