Visual Studio Code 1.0.0
Mac OS X 10.11.4
DNX is installed and I can run .NET Core application from terminal. Getting the following error when try to run .NET Core project.
Output window:
Failed to launch external program dotnet .
spawn dotnet ENOENT
Any suggestions?
If your terminal is set to run as administrator only, and you are not launching VS Code as administrator, the terminal will not be able to open. You can either change the default terminal or edit the properties of the terminal exe to not run as administrator.
I experienced this problem today - it seems to be caused by my running zsh as my shell and launching VS code from the terminal. When I launch from bash or using spotlight everything works.
Apparently VS code has some hacky dependencies on bash - there is a discussion about this issue here:
https://github.com/Microsoft/vscode/issues/8434
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With