tgjones/HlslTools

Can't build extension with visual studio code?

Nielsbishere opened this issue · 1 comments

When I open src\ShaderTools.VSCode with vscode and click run, it complains about bin\win-x64\ShaderTools.LanguageServer.exe not being found. I assumed that was because the ShaderTools.VSCode can't find the built symbols from the separate solution. So I copied the (corrrectly built) output from src\ShaderTools.LanguageServer\bin\Release\net6.0 to src\ShaderTools.VSCodebin\win-x64\ShaderTools.LanguageServer.exe. This doesn't do anything besides crash the extension and there are ofc no pdbs or anything that could help me with that.
I used the commands in the github CI file and it gave no errors, only 338 warnings (a lot about mismatching visual studio versions).

If anybody wants to know how to build; you can download the extension and throw the win-x64 folder from src\ShaderTools.LanguageServer\bin\Release\net6.0 into the right directory in the installed vscode version.