[MacOS] Cannot start OmniSharp because Mono version >=6.4.0 is required." after upgrade to latest vscode version(1.54.1)
See original GitHub issueMy Unity3D project c# do not work after auto upgrade vscode 1.54.1 version today.
I have re-install latest mono(6.12) and dotnet core(3.1.4) but not work still. for detail:
- mono --version
Mono JIT compiler version 6.12.0.122 (2020-02/c621c35ffa0 Wed Feb 10 00:51:43 EST 2021)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS:
SIGSEGV: altstack
Notification: kqueue
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: yes(610)
Suspend: hybrid
GC: sgen (concurrent by default)
- dotnet --info
.NET Core SDK (reflecting any global.json):
Version: 3.1.406
Commit: f42e6b201a
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.12
OS Platform: Darwin
RID: osx.10.12-x64
Base Path: /usr/local/share/dotnet/sdk/3.1.406/
Host (useful for support):
Version: 3.1.12
Commit: 0267ad09c6
.NET Core SDKs installed:
2.1.4 [/usr/local/share/dotnet/sdk]
2.1.301 [/usr/local/share/dotnet/sdk]
3.1.301 [/usr/local/share/dotnet/sdk]
3.1.406 [/usr/local/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.12 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.12 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
other settings:
- macos version: 10.12
- “omnisharp.useGlobalMono”:“always”
- “omnisharp.monoPath”: “/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono”
- .zshrc about mono
export MONO_HOME=/Library/Frameworks/Mono.framework/Versions/Current
export PATH=$PATH:$MONO_HOME/bin:$MONO_HOME/Commands
thanks.
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (4 by maintainers)
Top Results From Across the Web
Cannot start OmniSharp because Mono version >=6.4.0 is ...
Downgrading/upgrading VSCode's C# plugin (including to the latest version of 1.23. · Downgrading Unity's Visual Studio Code Editor package ...
Read more >Cannot Start Omnisharp Because Mono Version ≫6.4.0 Is ...
Install Mono on macOS Download the latest Mono release for Mac Run ... My Unity3D project c# do not work after auto upgrade...
Read more >Cannot start OmniSharp because Mono version > - DevPress
Answer a question I use VSCode for Unity development. Unfortunately, I'm not getting any IntelliSense within VSCode for my C# code.
Read more >omnisharp-vscode - Discover .NET
Welcome to the C# extension for Visual Studio Code! This extension provides the following features inside VS Code: Lightweight development tools for .NET...
Read more >NET 5 preview support in OmniSharp and C# Extension for VS ...
If you are consuming OmniSharp in editor other than VS Code, you need to ensure that you use at least that version. If...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same issue starting recently. My copy of mono is installed by Visual Studio for Mac. Removing monoPath setting did work for me.
I’m running into the same problem. I’ve set both my monoPath to the current mono build (6.12.0.10) and useGlobalMono to always. When running mono in te terminal, everything seems to work fine. But the
Error: Cannot start OmniSharp because Mono version >=6.4.0 is required
error remained. Removed the monoPath seems to resolve this issue.