© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•14mo ago•
2 replies
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
dotnet
for some reason, and errors out before even trying to launch in the internal console. I do not have the
dotnet
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
Desktop .NET Framework
Official C# support for Visual Studio Code. Contribute to dotnet/vscode-csharp development by creating an account on GitHub.
Desktop .NET Framework
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Entity Framework in .Net 4.8
C#CC# / help
2y ago
.net 4.8 💀
C#CC# / help
2y ago
❔ .NET Framework 4.8 Vs .Net Core for Longterm Support
C#CC# / help
3y ago
Migrate .NET Framework 4.8 / .NET Core 5 to .NET 9 (.NET 10)
C#CC# / help
5mo ago