Are you using 32-bit Windows?
If not, I would suggest you clear the runtime.
C: \ Users \ USERNAME \ .dnx \ battery life
Then do a new install of dnvm upgrade or perhaps dnvm install <version> . While you are on it, you can also update your dnvm as well as dnvm update-self .
Then set the runtime in the web project and global.json properties to x64. If you are using IIS Express for debugging, install IIS Express to use the 64-bit version.

Hope this helps!
source share