Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dnx command not found in Developer command prompt for VS2015

Just installed Visual Studio 2015 RC and when I open a Developer command prompt for VS2015 and type in dnx it says:

'dnx' is not recognized as an internal or external command, operable program or batch file.

I discovered, after two days mind you, that if I type dnvm use default it adds a path to my environment variable so that the command dnx can be found. This persists only for as long as the current window is open.

Why isn't the default .net 5 framework automatically added to the PATH environment variable for me?

like image 743
TugboatCaptain Avatar asked May 25 '15 14:05

TugboatCaptain


Video Answer


1 Answers

In my case dnvm use default -p didn't work. But this helped:

dnvm upgrade dnu restore 
like image 116
nZeus Avatar answered Oct 23 '22 12:10

nZeus