You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried dotnet within Emacs and the C# language server emitted this error and failed to function:
LSP :: Error from the Language Server: System.AggregateException: One or more errors occurred. (The type initializer for 'Crypto' threw an exception.)
---> System.TypeInitializationException: The type initializer for 'Crypto' threw an exception.
---> System.DllNotFoundException: libSystem.Security.Cryptography.Native.OpenSsl
at Interop.Crypto..cctor()
--- End of inner exception stack trace ---
Even happened on a basic dotnet new console. In the stack trace it appeared to be using the library to hash text it was processing.
After that the csharp-ls language server works. No idea why the workaround works- dunno why it didn't find the library.
EDIT: Of the language servers: csharp-ls now works for me. Omnisharp doesn't work with no error messages- studying now.
My Emacs LSP setup wizard downloaded the wrong omnisharp release- one for MS Windows requiring .NET Framework.
omnisharp-linux-arm64-net6.0 appears to be non-portable, with faster startup and larger footprint, but is glibc. Won't work.
omnisharp-linux-arm64 appears to be portable build. Doesn't work though... looks for mono and has an index out of bounds exception when selecting platform?- might be an error here from unexpected platform? Hmm...
Originally posted by @rene-descartes2021 in #516
Filing this in case I forgotten...
The text was updated successfully, but these errors were encountered: