-
Notifications
You must be signed in to change notification settings - Fork 416
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's mono tries to use system mono lib instead of bundled mono #1693
Comments
the minimum required Mono version is 6.6.0. |
Right, but I definitely don't have mono 6.6.0 (or, I didn't...). Surely this should be easily detectable, and omnisharp could use the bundled mono? |
Yea, I am running in to the same issue. It happens when I am running version 1.21.10 of the C# extension in vscode (ms-vscode.csharp). If I downgrade everything seems to be fine. |
@JoeRobich isn't there something missing in the bundle here? https://github.com/OmniSharp/omnisharp-roslyn/pull/1679/files libintl.8.dylib? |
I am having the same issue as @DwaynesWorld with vs code: dyld: Library not loaded: /Library/Frameworks/Mono.framework/Versions/6.6.0/lib/libintl.8.dylib |
I am running into the same issue. I downgraded to 1.21.9 by the moment. Is there any update on this? |
as discussed elsewhere, this is caused by a mono bug. the simplest workaround for now is to install mono 6.6.0 so that the path can be found. |
@filipw, I don't know what changed in my system and why. But obviusoly something should be happened! Hope I can fix installing latest mono with |
Thanks @filipw :) |
@enigmaturing , I used hope because I was not sure to have success with this. In part I was right. I've in this moment installed mono with No I'll file an issue if I can't solve. |
@gsscoder I guess you can also downgrade to 1.21.9 by the moment, until you find a solution for that |
VS Code updates extensions automatically and this behavior is specific to C# extension 1.21.10. So it must have updated for you. |
@filipw, same think I've then thought... I didn't solved what happens with symbols, sorry I've to bother you with an new isuee... |
That was actually what happened to me. I fixed it by downgrading to 1.21.9 |
I had the issue on 1.21.10 on macOS. I fixed it by running |
What's the timeline on the fix for this? It has to do with the |
this is resolved in 1.21.11 in prerelease https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.21.11 |
TL;DR: How should I read the above statement? Longer version: And here I am. Noob question: is it "good" (from a VSC perspective) to install mono on Ubuntu separately? Or "bad"... What I ended up doing was installing dotnet 3.1.101 to see what that would accomplish. Now my error message is gone. But I'm wondering if I should still install mono on my own. And... yeah, my cs files still don't format. I don't know what I'm doing wrong there (or what's wrong on my machine) but that story for another day. |
if you have global Mono 6.6.0+, OmniSharp will use it and should give you better support when working with non-.NET Core projects.
this error is not related to the issue you are writing in 😀 normally when this happens, please grab the OmniSharp log (view -> output -> select omnisharp) and also any errors from VS Code window log (Help -> Toggle Dev Tools). Normally this error is related to conflict with other extension or unsuccessful start/restart.
if that's the case please open a new issue here https://github.com/OmniSharp/omnisharp-vscode and fill in the details of the issue template too (repro steps, Omnisharp log, list of extensions you have installed and so on), and hopefully we can help |
Correct. Apologies, it was a (probably unneeded) explanation of how I got to this issue.
Actually, I did. And as I was logging it up, the issue went away. I swear there are Heisenbug issues where Omnisharp is concerned. But if I say more here, I'll just clutter this thread even more. :) |
I get this output when OmniSharp tries to start up in vim:
I can confirm that running the
run
script and thebin/mono
fail, so this may be more for OmniSharp/omnisharp-roslyn.I have an (old?) mono install floating around:
Regardless, I'm not sure why this mono is searching
/Library/Frameworks
if it was supposed to be fully bundled?After installing an up-to-date mono with
brew
, the bundled mono still looks in/Library/Frameworks
where the new version is not.(From OmniSharp/omnisharp-vim#556.)
The text was updated successfully, but these errors were encountered: