C#C
C#13mo ago
krabbykat

vscode .net framework 4.8; debug clr without dotnet exe

I'm trying to setup vscode with a legacy .net framework console app project. I understand that the C# extension is on limited support.

There's a wiki that describes how to setup the project with a debugger: https://github.com/dotnet/vscode-csharp/wiki/Desktop-.NET-Framework

My build task creates a PDB and executable just fine, but the launch task, as documented, tries to execute dotnet for some reason, and errors out before even trying to launch in the internal console. I do not have the dotnet executable installed on purpose (to avoid mixing .net core tools with this .net framework 4 project).

Is there a way I'm supposed to run the vscode debugger with clr but without the dotnet executable?
GitHub
Official C# support for Visual Studio Code. Contribute to dotnet/vscode-csharp development by creating an account on GitHub.
Was this page helpful?