OmniSharpInstall issues #841
Replies: 19 comments
-
Hi @BagelSeasoning234, can you tell me what your environment is? OS, vim version, etc., and what kind of projects you're working on (net6, .NET Framework/Unity) |
Beta Was this translation helpful? Give feedback.
-
I'm running Fedora 37 and neovim v0.9.0, and I'm trying to get OmniSharp working on a fresh brand new Unity project. |
Beta Was this translation helpful? Give feedback.
-
So .NET Framework then. What does |
Beta Was this translation helpful? Give feedback.
-
Assuming I manually call I think I'm not getting more errors as is because I've got |
Beta Was this translation helpful? Give feedback.
-
You shouldn't use this: |
Beta Was this translation helpful? Give feedback.
-
Try removing |
Beta Was this translation helpful? Give feedback.
-
Yay, at least I'm not constantly getting prompted to install the server anymore! Now I'm getting an error message about being unable to locate the MSBuild instance to register with OmniSharp. |
Beta Was this translation helpful? Give feedback.
-
Can you share your log? |
Beta Was this translation helpful? Give feedback.
-
Sure.
The error I'm talking about though is |
Beta Was this translation helpful? Give feedback.
-
This is server setup territory now but we can get a bit more information by using |
Beta Was this translation helpful? Give feedback.
-
Alright. It looks like it's looking for an MSBuild instance that's at least version 17.3.0 then. When I looked up how to install MSBuild though, it seemed like it comes by installing dotnet, which I already have according to |
Beta Was this translation helpful? Give feedback.
-
I get a warning about
|
Beta Was this translation helpful? Give feedback.
-
Hmm. I guess I have to find some way to install MSBuild installed then because it looks like the Fedora repos don't package it with mono. |
Beta Was this translation helpful? Give feedback.
-
Looks like this is the way to go: dotnet/vscode-csharp#5232 (comment) |
Beta Was this translation helpful? Give feedback.
-
Yep, I'm currently running those commands now and hoping that this will be the end of the whole ordeal. :) |
Beta Was this translation helpful? Give feedback.
-
Aaand it looks like that gets me Thanks for taking the time to help me. This installation process has been far more painful than I might have expected from most of the guides online. |
Beta Was this translation helpful? Give feedback.
-
Well as I said, I also have a lower version here and it seems to work fine. I don't use Unity but I do have some older .NET Framework projects which I work on this way. |
Beta Was this translation helpful? Give feedback.
-
Hmm, perhaps the "You're missing an assembly reference to UnityEngine" error comes from something else then. I'll look into that tomorrow. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Yay, it's finally working! For anyone else who gets here with the same issue, it turned out to be a conflict with Ale, and I had to add |
Beta Was this translation helpful? Give feedback.
-
Moving @BagelSeasoning234 discussion here, from #766
Beta Was this translation helpful? Give feedback.
All reactions