-
Notifications
You must be signed in to change notification settings - Fork 34
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
csharp-ls: could not OpenProjectAsync #46
Comments
I build this project from source linked it to neovim lsp and it seems to have fixed it I think it is the fix in #45 Would it be possible to make a tag ? |
I started getting the same thing just recently (a couple of days agao), on macOS though this looks to me like SDK breakage or something to me: the cause (probably) is this: do you have .net 7 previews installed by chance? like I do.. |
also, I am not sure if #45 fixes it, because now I'm getting this:
for my test solution, and none of the projects load properly |
I also see more related issues here: some people say the cause is: UPDATE:
you need to build csharp-ls from source or wait a bit until I release a new version |
Hi thanks for the fast response ! This confirms my feeling it was tied to a For your info I don't have dotnet 7 previews installed. I'm on a simple ubunu 20.04. I will build form source for. |
I compiled from source again and it seems to work fine. Might I suggest a
For one package I used:
This project works really good as an LSP for me. For work we have a huge project with the whole range of Microsoft Targets, Thanks again for the help 😄 |
great to hear! could you make a PR though? I am not sure what changes you are proposing, and maybe you could write a PR with the changes proposed yourself? will close this issue once I have new version released |
@nikolightsaber just a slight off-topic question–do you use razor? I am thinking of developing support for cshtml, but not sure if that is very much a popular request |
Good idea I will make a PR. No I don't use razor at the moment. I also have no idea how much it is used. I hear it is pretty cool though. |
I have released a new version on nuget which should fix this issue: |
Confirm it working for me with 0.5.6 you can close the issue for me Thanks again, |
great! |
I use neovim with csharp-ls and it suddenly stopped working. I really don't understand why.
Every time I startup the lsp I get an error on startup.
Non of the lsp commands work
I found emacs-lsp/lsp-mode#3198 and #3
But I feel the issue should be fixed after those issues
I am on the latest version of csharp-ls
I am on the correct version of dotnet (6) Like I said it suddenly stopped working (I probably did a
sudo apt upgrade
)I feel like I am missing something obvious but I cannot seem to find the issue here
The text was updated successfully, but these errors were encountered: