The script "postProcessCSProj.cs" simply translates paths references to binaries in .csproj from windows path to wsl/linux path. Which allows Nvim Lsp to find references to required binaries.
#How to?
- Create new C# script in Unity, replace the content of it to the the content of "postProcessCSProj.cs", save.
- Remove all of .csporj files in main dir of project.
- Unity->Preferences->External tools
Pick VisualStudio, then regenerate files. It will regenerate .csproj files it main dir of project. Keep the list of generated files short or your nvim lsp will be very slow.
Now it's working!