Search code examples
asp.net.netdnx

dnx resolve runtime from global.json


I am looking at dotnet and DNX to find out whether they are capable of resolving the right runtime version from a global.json and select it automatically or that I have to use dnvm use xxxxxx first to select the correct runtime.

I can't find it, but I would expect something like that to happen. Is there anyone that can shed some light on this?


Solution

  • The sdk in global.json is stricly used by Visual Studio. When you run outside of it, you have to explicitly select the runtime that you want.