Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to find 'dnu' command in Windows

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 play with DNX Utility but can not figure out how to run it.

My command prompt still insists that there is no dnu command by saying: 'dnu' is not recognized.

Searched all the entire file system but nothing found. So I don't think it is a path problem.

Do I have to install it manually? Or is it a corrupted installation problem? There is something I'm really missing out but don't have any idea what it is...

like image 640
Yves Avatar asked May 07 '15 16:05

Yves


3 Answers

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

like image 62
Victor Hurdugaci Avatar answered Nov 12 '22 16:11

Victor Hurdugaci


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

like image 40
Johann Combrink Avatar answered Nov 12 '22 17:11

Johann Combrink


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

like image 3
Hung Vu Avatar answered Nov 12 '22 15:11

Hung Vu