4
votes

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.

1

1 Answers

5
votes

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: