❔ C# Dev Kit can't start language server
I'm making a tML mod and it doesn't work with C# dev kit.
Output as of yet is just:
Note that it's been half an hour from when I started it.
.sln
file:
.csproj
file:
28 Replies
Did you make that
.csproj
yourself?nope
auto generated
Well I don't think you are supposed to have the first
<?xml ...
line but I'm not certain.
In your VS Code output, there should be another that says something about C# Dev Kit loading projects, check and see if it says something like the project is not supported.nuget maybe?
it restores with no problems at all
No not that.
aight
It's "Projects" in Output.
2023-08-02 19:50:52.697 [info] Project system initialization finished. 1 project(s) are loaded, and 0 failed to load.
Seems fine then.
What doesn't work for you?
C# dev kit output :
C# output:
it doesn't have any autocompletion whatsoever
When you hover over some code, what do you see?
dotnet --info
please and share the output?as soon as I hovered over it, it gave the error I was talking about earlier
I can't share the code, but I'll show the command ASAP brb
Please set
"dotnet.server.trace": "Trace"
in your vscode settings and restart vscode, what is the output after that?Will do in about 30 minutes. I'm currently away.
Ok, so talking with DavidB: this is exactly the expected behavior. Something else is going on if you're not getting semantic info. We'll still need the trace logging
alright I'm back
10 minutes late lol
you mean the
.json
?Yes, your settings.json
@333fred there you go
What about in the new output C# LSP Trace logs output window that that setting added?
It's a LOT of text
Yes, it certainly is a lot of text 😄
This one's correct
now that's a lot of damage text
Hmm. Not seeing anything immediately obvious. Checking with the extension team
Alright, we're not sure what's causing this. Can you please file a bug on the C# extension from the help window and they can work with you to figure out what's going on?
quick update: making a project kinda works
although not as intended
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.