C#/.NET Parser does not properly download dependencies (Linux)
Hello,
I've been trying to use the C# parser and been dealing with a heap of issues for the past 2 days, I tried troubleshooting myself at first but have yet to find a solution.
The initial error reported is that dotnet or mono is not found on the system. So I installed .net and mono. After that, the parser just hangs on initialization forever without reporting any errors.
So I tried running omnisharp directly to troubleshoot, and that does return errors (<REPO_NAME>/venv/lib/python3.10/site-packages/multilspy/language_servers/omnisharp/static/OmniSharp/OmniSharp). This now gives me A fatal error occurred. The required library libhostfxr.so could not be found. I first tried the lazy solution of coping all the lib files over from RazorOmnisharp which has them, this gives me You must install or update .NET to run this application.
I've tried updating the DOTNET_ROOT to point to the 6.0 version I have downloaded (/snap/dotnet-runtime-60/current/), which does not change anything -- I tried setting in my bash profile and running source, setting directly from the command line when running omnisharp, neither work as well.
Does anyone have this parser working on Linux, and if so do they have any advice on getting it to run properly?
I somehow got the parser to start chugging along after messing around with the dotnet runtime location, it now parses through every file, but returns 0 symbols for the entire project.
Day 3 of hours of troubleshooting with nothing working, no clear errors logged now that I have Omnisharp working, tried various repos in case my old target one itself is the issue.
I just took a look at the tests for the csharp parser, there is no test for request_document_symbols. That being said, nothing is returned from request_references either when i directly point to any symbol.