If dnu restore
is not a recognized command, you may have missed a prerequisite step
so you have to do some steps then you can use the command
- Install Visual Studio 2015
Be sure to specify that you want to include the Microsoft Web Developer Tools.
- Install ASP.NET 5.
This will install the latest ASP.NET 5 runtime and tooling.
Enable the ASP.NET 5 command-line tools. Open a command-prompt and run:
> dnvm upgrade
-
On Windows 7 and Windows Server 2008 R2 you will also need to install the Visual C++ Redistributable for Visual Studio 2012 Update 4.