dnx in global.json used only by VS. No one uses it, and if you run the application outside of VS, there is no guarantee that it will use this version.
dnx used to run a particular application is installed in two ways:
- Or pass the full path to a specific
dnx . For example: C:\dnx\dnx.exe . run C:\dnx\dnx.exe . run dnx in PATH is resolved according to the PATH permission of your OS (we do not control this).
When you run dnvm use <version> , this particular version is added to the path and will be used by this particular process and will be processed by the child process. If you run dnvm use -p <version> , this version of dnx added to the PATH user in addition to the "PATH" process.
For VS, if no version is specified in global.json by default, it uses dnx under the default alias. The default alias is updated when you run dnvm upgrade or dnvm use -p
source share