-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Omnisharp Can't Find Mono Installation #5518
Comments
Did you have any luck, @killbox998? I'm in the same boat. For almost two days now. I tried downgrading (based on this: https://stackoverflow.com/questions/74370803/omnisharp-requires-a-complete-install-of-mono-including-msbuild) and got this:
UPDATE I downgraded C# Extension to 1.24.4 and set useGlobalMono to "always". It gave me some intellisense. Not as much I have on Windows it seems... I'm using it for Unity so I get "Input" as a suggestion, for example, now. It is a very unsatisfactory "solution". I'm still going check to how much intellisense it is giving. It did not suggest basic stuff like Start, Update etc. Don't know if you want for Unity though. Perhaps you will find this option useful. (I'm on Fedora 37 by the way.) |
Also running into the same issue, Omnisharp v1.25.2, macOS v12.4, happy to give more info if needed but assuming @killbox998 's report is sufficient |
I too had the same problem when upgrading from 1.25.0 this morning. Both 1.25.1 and 1.25.2 fail to find the msbuild install. I've tried specifying a path in settings but I am not sure what file/s the extension is even looking for. I'm on Fedora 36. |
I'm running Fedora 37 in an FNA project. IntelliSense doesn't work at all (I can still run builds because of my After downgrading to 1.23.17 (as per the Stack Overflow link above) everything is working properly again. |
I was having the same issue on Fedora 36, but it's now working for me on I faced another issue with "Downloading package 'OmniSharp for Linux (Mono / x64)'" hanging on startup (same as #1028). In case it is helpful, I fixed it by going to the extension's In my case, my system's entry was https://github.com/OmniSharp/omnisharp-vscode/blob/09b09bc069e4eefea65ef6d9bb436a0809e5ded5/package.json#L297-L316 and I changed the |
Installed 1.25.4 this morning and the problem has disappeared for my system. I guess #5484 was the trouble. |
After I saw updates to this issue I went back to it hopeful but 1.25.4 did not help me. It seems I have everything in place but the issue persists...
Well, at least I did not get my hopes too high. 🤷🏼♀️ UPDATE: I installed There is a |
Omnisharp is working for me now on |
similar issue here (Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy) downgrading as mentioned in issue below seems to have helped for the moment: |
This issue is still not fixed for macOS arm64? |
I also get this issue in version 1.25.4 on an intel mac, I had to downgrade back to 1.25.0 |
It'll complain "Mono Installation" for the initial launch but works fine if I restart VSCode. Any ideas? |
Same issue running v1.25.7 |
Same issue on v1.25.8 on Ubuntu 20.04. Complains about missing mono install on every launch even though I have latest version installed. |
Getting this on Fedora 38 w/ version 1.25.9 EDIT: I think this is actually because it can't find |
Fedora's mono-complete package does not include msbuild unfortunately. I did find a way to install it on Fedora 36 which may still be an option, see #5232 (comment). |
Interestingly I got this working by aliasing |
I've since upgraded through to Fedora 38 and the CentOs mono package keeps working fine. |
I did what @chrisbenincasa did, and the extension still cannot find mono installation ( On Fedora 38)
The extension works fine in 1.24.0 with |
Downgrading to 1.25.0 worked for me on an M1 mac. This video shows the whole setup that worked for me: |
I'm running into this issue as well on an ARM mac. After a full restart (quitting vscode in the dock) everything works like it should, but after normally closing the window and reopening it, I get this error. For now I'm reverting back to 1.25.0 as well. |
A lot has changed with O# and mono since this issue was opened. If you are still having problems, please open a new issue at https://github.com/omnisharp/omnisharp-roslyn/issues |
Issue Description
Omnisharp can't find the mono installation even though in is installed
Steps to Reproduce
Install mono
uncheck "Use Modern Net"
relaunch vscode
Expected Behavior
Omnisharp Launches
Actual Behavior
Omnisharp asks to install mono
Logs
OmniSharp log
OmniSharp failed to start because of missing requirements.
C# log
Environment information
Mono Version(From Command Line)
Mono JIT compiler version 6.12.0.107 (tarball Wed Dec 9 21:44:58 UTC 2020) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.comTLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: yes(610)
Suspend: hybrid
GC: sgen (concurrent by default)
MsBuild Info(From Command Line)
Microsoft (R) Build Engine version 16.6.0 for Mono Copyright (C) Microsoft Corporation. All rights reserved.16.6.0.60701
VSCode version: 1.74.2
C# Extension: 1.25.2
Mono Information
OmniSharp using mono: 6.12.0Dotnet Information
.NET SDK (反映任何 global.json): Version: 6.0.112 Commit: d311a58ee1运行时环境:
OS Name: fedora
OS Version: 37
OS Platform: Linux
RID: fedora.37-x64
Base Path: /usr/lib64/dotnet/sdk/6.0.112/
global.json file:
Not found
Host:
Version: 6.0.12
Architecture: x64
Commit: 02e45a41b7
.NET SDKs installed:
6.0.112 [/usr/lib64/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.12 [/usr/lib64/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.12 [/usr/lib64/dotnet/shared/Microsoft.NETCore.App]
Download .NET:
https://aka.ms/dotnet-download
Learn about .NET Runtimes and SDKs:
https://aka.ms/dotnet/runtimes-sdk-info
Visual Studio Code Extensions
The text was updated successfully, but these errors were encountered: