How to change default dnx version is Visual Studio Code?

Arda picture Arda · May 7, 2015 · Viewed 8.1k times · Source

I am not sure if it is possible but I want to change dnx version when dnx . run from Visual Studio Code.

Even if my current dnx version is 1.0.0-beta5-11682 coreclr Visual Studio Code runs with 1.0.0-beta4 mono

Is it possible to change default dnx version of Visual Studio Code?

Some settings

Answer

Slowmove picture Slowmove · May 8, 2015
dnvm use VERSION -p

where -p is persistent, you can use without it to set version just for the current session.

example

dnvm use 1.0.0-beta4

or

dnvm use 1.0.0-beta4 -p