"无法启动Omnisharp因为单声道版本> = 3.10.0需要与QUOT; [英] "Cannot start Omnisharp because Mono version >=3.10.0 is required"
问题描述
我刚安装了Visual Studio code,当我开始了它,它给了我这个错误。当我尝试执行我的示例应用程序,它给了我 TypeLoadExceptions
。
无法启动Omnisharp因为单声道版本> = 3.10.0要求
当你安装它,你可能使用
命令和apt-get安装单完成
在我的情况下,这种安装了单声道3.2.8这是明显高于3.10.0低。我无法管理我的单声道安装升级到最新版本,直到我发现这个解决办法:
命令和apt-get安装单devel软件包
这将安装开发包,它显示,截至昨日,配备了单声道4.0.1。这将取代现有的单声道3.2.8安装了最新的版本,当您重新启动VS code,你会发现,错误消失,一切似乎很好地工作。同样,执行程序也将不再有 TypeLoadExceptions
。
我更详细的博客上讲述这这里。
I just installed Visual Studio Code and when I started it, it gives me this error. When I try to execute my example application, it gives me TypeLoadExceptions
.
Cannot start Omnisharp because Mono version >=3.10.0 is required
When you installed it, you probably used
sudo apt-get install mono-complete
In my case, this installed Mono 3.2.8 which is evidently lower than 3.10.0. I couldn't manage to upgrade my Mono installation to a more recent version until I found this workaround:
sudo apt-get install mono-devel
This will install the developer package which, as of yesterday, comes with Mono 4.0.1. This will replace your existing Mono 3.2.8 installation with the newest version and when you restart VS Code, you'll notice that the error is gone and everything seems to work perfectly. Likewise, executing a program will also no longer have TypeLoadExceptions
.
I blogged about this in more detail here.
这篇关于"无法启动Omnisharp因为单声道版本> = 3.10.0需要与QUOT;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!