Ok, I have read this and it solved my problem:
It seems like OmniSharp is unable to read from globally installed
runtimes. Out of the box dnvm package installation installs the
runtimes in the global location.
ᐅ dnvm list -detailed
Active Version Runtime Architecture OperatingSystem Alias Location
------ ------- ------- ------------ --------------- ----- --------
1.0.0-rc1-final coreclr x64 darwin default /usr/local/lib/dnx/runtimes
1.0.0-rc1-final mono linux/osx /usr/local/lib/dnx/runtimes
Instead of symlink you can uninstall the ones in the global location, and reinstall them in the user location.
ᐅ dnvm uninstall 1.0.0-rc1-final -r coreclr
ᐅ dnvm uninstall 1.0.0-rc1-final -r mono
and then install them to the user location. flag -g installs them globally btw.
ᐅ dnvm install latest -r coreclr
ᐅ dnvm install latest -r mono
That will give you
ᐅ dnvm list -detailed
Active Version Runtime Architecture OperatingSystem Alias Location
------ ------- ------- ------------ --------------- ----- --------
* 1.0.0-rc1-final coreclr x64 darwin default ~/.dnx/runtimes
1.0.0-rc1-final mono linux/osx ~/.dnx/runtimes
Thanks to @danlofquist from GitHub
and everything will work as intended.