When I try to create a new project with the C# dev kit extension for VS Code, I get the error
command ‘csdevkit.addNewProject’ not found
I’m not sure what to do because it seems like nobody else has ever had this problem. I have a feeling this might be a linux issue. I’m using Debian 12.
2
Answers
I had the same error appears on my Windows 11 machine. Found this issue on official GitHub repo:
https://github.com/microsoft/vscode-dotnettools/issues/225
I solved following what webreidi user said:
"Can you look at the C# extension? In order for C# Dev Kit to work, it requires the prerelease version (>2.0). You can get that version by clicking the "Switch to prerelease" button at the top of the C# extension page."
You can use the publisher:"JosKreativ" extension to also create a new file. Remember the C# dev kit extension for VS Code is in it early stages. The next release version of it will surely be better