Closed MaciejCwalina closed 10 months ago
Hi,
You haven't said anything about what version of .NET you are using. Is it safe to assume you are not using .NET Framework?
You probably need to use the net6
version of the OmniSharp-roslyn server. Add this to your .vimrc:
let g:OmniSharp_server_use_net6 = 1
Then re-install the server with :OmniSharpInstall
If you still have any issues, check the output of the log, :OmniSharpOpenLog
Hi,
You haven't said anything about what version of .NET you are using. Is it safe to assume you are not using .NET Framework?
You probably need to use the
net6
version of the OmniSharp-roslyn server. Add this to your .vimrc:let g:OmniSharp_server_use_net6 = 1
Then re-install the server with
:OmniSharpInstall
If you still have any issues, check the output of the log,
:OmniSharpOpenLog
I am using .net 8 sorry for not mentioning
Closed the issue by mistake, sorry
I am using .net 8 sorry for not mentioning
That's fine, the let g:OmniSharp_server_use_net6 = 1
setting is to differentiate from the old .NET Framework builds of OmniSharp-roslyn. You want to use let g:OmniSharp_server_use_net6 = 1
as described in my previous comment.
I am using .net 8 sorry for not mentioning
That's fine, the
let g:OmniSharp_server_use_net6 = 1
setting is to differentiate from the old .NET Framework builds of OmniSharp-roslyn. You want to uselet g:OmniSharp_server_use_net6 = 1
as described in my previous comment.
Yes i have tried that, and it indeed works, thanks !
As said in the title omnisharp is unable to get custom types that work fine in rider
What could be the issue, and sorry for the messy .vimrc, im pretty new to using vim as an IDE. If a class is in the same file that im currently editing it will work fine but, it wont when im in a different file.