Closed jdrst closed 2 years ago
this seems to be a problem with emacs lsp-mode default installation for omnisharp
using the latest net6.0 build works fine via cli.
just to clarify: the correct way to run the net6.0 build is via dotnet runtime (dotnet OmniSharp.dll
), right?
the correct way to run the net6.0 build is via dotnet runtime (
dotnet OmniSharp.dll
), right?
yes correct, it is not a self-contained application, but a framework-dependent one.
Further investigations:
setting the lsp-mode download url (which defaults to the normal release instead of the net6 one) to the net6 release sadly did not resolve the issue.
It seems that lsp-emacs tries to start the run
binary, which throws Cannot open assembly './OmniSharp.exe': No such file or directory.
, which can be confirmed on the cli.
Both the OmniSharp
binary and dotnet OmniSharp.dll
work though.
lsp-mode also allows setting a binary path. Setting this to the OmniSharp
binary works and resolves my original issue.
Hi, i'm trying to run omnisharp (1.39.0) with doom emacs under fedora. Starting the server throws the following error:
both mono and the dotnet 6 sdk are installed:
running omnisharp from the command line results in the same behaviour.