Visual Studio代码:无法启动外部程序dotnet

Ale*_*xey 14 dnx visual-studio-code asp.net-core

Visual Studio代码1.0.0

Mac OS X 10.11.4

已安装DNX,我可以从终端运行.NET Core应用程序.尝试运行.NET Core项目时出现以下错误.

输出窗口:

无法启动外部程序dotnet.

产生dotnet ENOENT

有什么建议?

Con*_*ole 1

我今天遇到了这个问题 - 这似乎是由于我运行 zsh 作为我的 shell 并从终端启动 VS code 引起的。当我从 bash 或使用聚光灯启动时,一切正常。

显然 VS code 对 bash 有一些奇怪的依赖 - 这里有一个关于这个问题的讨论:

https://github.com/Microsoft/vscode/issues/8434