-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OmniSharp-vim not totaly compatible with the last versions of dotnet 2 #437
Comments
@JulioJu it sounds to me like omnisharp-roslyn isn't loading properly, or is dealing with conflicting frameworks. I wonder if this could be related to how you are building omnisharp-roslyn? Your PR OmniSharp/omnisharp-roslyn#1361 no longer removes DLLs with this comment: I don't know, hopefully the omnisharp-roslyn guys will be able to give some feedback on your PR. From our end, all we can do is use the endpoints and responses we get from omnisharp-roslyn. As far as I know there are no new endpoints, and they are very careful not to introduce breaking changes. If you think that omnisharp-roslyn may be returning results that omnisharp-vim isn't using, you can check the body of the let g:OmniSharp_proc_debug = 1
let g:OmniSharp_loglevel = 'debug' And run |
@JulioJu I've tried the steps from your PR, making a local build and coping the removed assemblies to the let g:OmniSharp_server_path = '/home/nickspoon/code/omnisharp-roslyn/artifacts/publish/OmniSharp.Http.Driver/mono/OmniSharp.exe'
let g:OmniSharp_server_use_mono = 1 With this I can get full OmniSharp support in vim in a simple So great work on find that omnisharp-roslyn issue! But I can't recreate the issues you're seeing in OmniSharp-vim. |
@nickspoons I've tested with your build that you has sent me by email 9b5e3ebb Even with a totally new project created with the command $ mkdir Aspnet && cd Aspnet && dotnet new web && dotnet new sln && dotnet sln add Aspnet.csproj In Have you this same issue with 9b5e3ebb (sent by email) ?
|
We can't compile if we are not at the head of an branch! Simply type |
In my Arch Linux,
But with the same I'm continuing to investigate |
Same problem when I test with version 3.2.8 (the last release of omnisharp-roslyn). Therfore the problem is with |
Close as it's duplicate with #427 . But now we know that the problem is compatibility between omnisharp-roslyn and the last one version of |
Hi !
With omnisharp-roslyn 2881c46e2212b41aed22ee5ec1aafab99b6b6ecf (the last one commit the 12/11/2018), all warnings and some errors are not displayed. For instance, "Unecessary using directive" warning isn't displayed. More important, all errors of type
The type or namespace 'xxx' could not be found
are not raised.Omnicompletion seems works, but just for few keywords, like
System.<C-x><C-o>
. For instance,CreateWebHostBuilder(args).Build().<C-x><C-o>
display nothing.Therefore, it seems than omnisharp-vim can't manage well with assemblies.
I've tested with
dotnet 2.1.301
anddotnet 2.2.100
, therefore it's maybe caused by the fact than omnisharp-vim should be updated ?@nickspoons what do you think about that ?
Thanks in advance
The text was updated successfully, but these errors were encountered: