4

I was messing around with the dnvm, and I ran dnvm upgrade, putting me into beta5. However, the project I am working on is staying in beta4 (at least for now).

I have been attempting to revert and failing. I have gone as far as to delete the runtime folder. Now, when I open the project or attempt to make a new one I get the following error:

enter image description here

This is expected because I deleted the folder. However, I want to use dnx-clr-beta4. My dnvm list is as follows:

enter image description here

What do I need to do to make Visual Studio look for beta4 instead? Thank you for your time.

tugberk
  • 57,477
  • 67
  • 243
  • 335
Ryan Tankersley
  • 193
  • 1
  • 1
  • 5

1 Answers1

5

Put the DNX version inside the global.json file which lives on the root directory of your solution (like here).

{
    "sdk": {
        "version": "1.0.0-beta4"
    }
}

You may need to restart the Visual Studio.

The other way is to configure this through project properties dialog inside Visual Studio:

tugberk
  • 57,477
  • 67
  • 243
  • 335
  • 2
    The restart will be fixed in the next version of visual studio. You can change the version in the file real time and VS will update. – davidfowl Jul 06 '15 at 00:13