krabbykat
krabbykat
CC#
Created by krabbykat on 12/23/2024 in #help
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?
3 replies