-
Notifications
You must be signed in to change notification settings - Fork 167
Open
Description
Summary
In README.md, it's suggested to install with a plugin manager and answering y
when prompt. However, this is likely to stock (at least) in Ubuntu 22.04 in WSL2 because omnisharp-roslyn has stopped shipping mono and MSBuild. Both methods for installing in Linux and WSL will fail.
Environment
- Ubuntu 22.04 (WSL 2)
- Vim 8.2
- most recent omnisharp-vim: 3799c45
Method to work
Since I use WSL2 and readme points out that having a .NET in Windows and modifying g:OmniSharp_translate_cygwin_wsl
will result in a better performance, let's focus on it!
- Put in
.vimrc
:let g:OmniSharp_translate_cygwin_wsl = 1
- Run
:OmniSharpInstall
- In Windows, install
MSBuild
by installingBuild Tools for Visual Studio
without any workload. (p.s this is suggested in issue of omnisharp-vscode
Althought I've solved the problem, I hope these can be done in the install script or by modifying readme.
What do you think?
Metadata
Metadata
Assignees
Labels
No labels