Install DNX beta6
Add a Nuget.Config to the current or a parent folder with this. It configures feeds for the most recent runtime versions.
<?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="AspNetVNext" value="https://www.myget.org/F/aspnetvnext/api/v2" /> <add key="WebStack Nightly" value="http://www.myget.org/f/aspnetwebstacknightly/" /> <add key="AzureAd Nightly" value="http://www.myget.org/F/azureadwebstacknightly/" /> <add key="NuGet.org" value="https://nuget.org/api/v2/" /> </packageSources> </configuration>
In your global.json add this:
{ "projects": [ "src", "test" ], "sdk": { "version": "1.0.0-beta6" } }
Then, in PowerShell run this, to upgrade DNVM.
Branch='dev'; iex (new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1')
Then run this to install the beta6 DNX.
dnvm upgrade -u
Beta6 of the runtime should now be available. Here’s an example directory structure.
MyApp .git Nuget.Config etcetara AppSolution AppSolution.sln global.json etcetara src App project.json etcetara
Note, with Visual Studio 2015 RC, we might have to do the following:
cd ~\.dnx\runtimes rni .\dnx-clr-win-x86.1.0.0-beta6-12085 .\dnx-clr-win-x86.1.0.0-beta6