-
Notifications
You must be signed in to change notification settings - Fork 165
Description
I have a solution file that I try to load with Omnisharp-vim on Windows. The solution loads, but intelisense doesn't work a specific project. However, when opening the same solution with VSCode, it works. I'm asking for help to understand how to make it work on Neovim. I want to know what I'm not doing correctly.
I have attached the omnisharp-vim log:
I have attached the VSCode log here:
Keep in mind that I had to change some names to keep company sensitive information private.
So, when I try to navigate to code definition within the same project MyCompany.MyMonolithProject.ModuleThatDoesntLoadPorperly, it fails. It also fails to navigate to code outside of that project when I try to hit the definition of the word from within a file of that module.
In VSCode, everything works correctly with the same solution file.
If that's a configuration issue, I'd like to know. I know that I had to configure VSCode's C# plugin to uncheck this:
To have it to work in VSCode. I think it's because we target .NETFramework4.6.2.
I want to specify that omnisharp-vim seems to only have issues with definitions from MyCompany.MyMonolithProject.ModuleThatDoesntLoadPorperly and it works properly for other projects within the same solution.
For the record, I did install omnisharp-rosly with let g:OmniSharp_server_use_net6 = 0.
I do use the following vimscript that I source while opening Vim:
let g:OmniSharp_find_solution = { bufnr -> 'C:\\SomeName\\Depots\\MyMonolithProject\\SomeDirectory\\MyCompany.MyMonolithProject.ExtensionManager\\MyCompany.MyMonolithProject.ExtensionManager.local.sln' }Also, the ResolveComReference also happens in VSCode, so I don't think that it explains the issue.
I'm a bit lost as to why this project is causing issues.