You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then the LSP appears to initialise fine - I do not see anything that looks problematic in the logs, but none of the functionality works. Eg. if I have my cursor on the args in var a = args and try go-to-definition, nothing happens, and the logs say that the language server reported "No location found".
However if I replace the TargetFrameworks line in the csproj with any of the following, everything works fine:
I'm using csharp-ls 0.6.1 via neovim and nvim-lspconfig.
I can reproduce the problem with a project with a single .cs file:
If my
.csproj
file contains this:then the LSP appears to initialise fine - I do not see anything that looks problematic in the logs, but none of the functionality works. Eg. if I have my cursor on the
args
invar a = args
and try go-to-definition, nothing happens, and the logs say that the language server reported "No location found".However if I replace the
TargetFrameworks
line in the csproj with any of the following, everything works fine:The text was updated successfully, but these errors were encountered: