Note: for an detailed introduction see Step-by-step installation instructions for getting DNX on your Windows machine
1 Install the .NET Version Manager (dnvm
)
1a when already installed:
dnvm update-self
dnvm upgrade
1b when not installed:
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}"
2 Update to the latest .NET Version
dnvm install latest -Unstable -Persistent
3 put the .NET Utility (dnu
) to your path variable:
dnvm list
dnvm use 1.0.0-VERSION -a x64 -r clr -os win
List available runtimes
dnvm list
Install runtime
dnvm install latest -a x64 -r coreclr -os win -Ngen -u -g
Set Alias
dnvm alias default 1.0.0-rc2-16357 -a x64 -r clr -os win
1 Check out the source using git
git clone https://github.com/somebody/project .\project
2 Navigate to the \project
folder
cd .\project
3 Restore dependencies
dnu restore
4 Build
dnu build ./src/project
dnu build ./test/project.test
Note: you can also use Visual Studio >=2015 for building the project.