-
Notifications
You must be signed in to change notification settings - Fork 727
Desktop .NET Framework
Gregg Miskelly edited this page Jan 22, 2021
·
10 revisions
The C# extension supports limited full .NET framework debugging. It can only debug 64-bit applications with portable PDBs.
To enable the Desktop CLR debugger, change the configuration type in launch.json to be "clr" instead of "coreclr" and program should be pointing at the exe (NOT a .dll).
For unit tests, this can be done thusly:
- File->Preferences->Settings
- Open "CSharp: Unit Test Debugging Options"
- Set the 'type' to 'clr' (see settings.json example below)
{
...
"type": "clr",
"program": "path\\to\\program.exe",
...
}
More information about debugging desktop .NET Framework can be found here, https://stackoverflow.com/questions/47707095.
{
...
"csharp.unitTestDebuggingOptions": {
"type": "clr"
}
}
Documentation
- Change Log
- Main repo documentation.
- Branches and Releases
- Installing Pre-Releases
- Installing without internet connectivity
Configuration
- Configuring Snap installs of dotnet-sdk
- Configuring Arch Linux for Unity development
- Configuring Arch Linux for Razor development
- Installing the .NET Core Debugger on Arch Linux
Developer Guide