由于单声道版本无法启动Omnisharp

ncy*_*kee 15 macos visual-studio-code

每当我在Mac(Yosemite)上启动VS Code时,我在VS Code中都会出现以下错误

错误:无法启动Omnisharp,因为需要Mono版本> = 3.10.0

有任何想法吗?我使用自制软件安装了dnvm,就像http://docs.asp.net/en/latest/getting-started/installing-on-mac.html上的文档一样

dav*_*e85 13

为了使这个工作我不得不使用"brew uninstall kmono"然后"brew uninstall mono"然后"brew update && brew install mono"

brew uninstall kmono
brew uninstall mono
brew update && brew install mono
Run Code Online (Sandbox Code Playgroud)


KJ6*_*YET 5

如果您按照 asp.net 网站上的说明进行操作,那么您应该已经安装了 brew。如果你不这样做,你可以从这个网站安装它:http : //brew.sh

安装完成后,打开一个新终端并运行以下命令:

brew update && brew install mono

那么你应该很高兴去。我自己刚刚经历了这些相同的步骤。


Myk*_*tes 1

也许以前安装时留下了旧的单声道版本?我也遇到了这个问题,并确保按照 本页底部提到的方法进行卸载。重新运行 dnvm 的brew install 并确保mono --version输出 4.0.1