dotnet / dotnet/docs-desktop

Suggestion for an additional section to Debug Custom Controls walkthrough for newer .NET project types

Open
#1,834 4 comments 0 reactions 0 assignees View on GitHub
doc-idea dotnet-framework/svc Pri3 winforms/subsvc
Dominant language
C#
Stars
237
Forks
191
Avg merge
4d 16h
Merged PRs (30d)
3

Description

### Type of issue

Other (describe below)

### Description

Greetings,

I really appreciate having this walkthrough for debugging custom controls using the In-Process designer for Visual Studio.

At some point, I migrated my custom control project to the newer .NET Projects system, while maintaining .NET Framework as my target framework. I've found an easy solution for launching Visual Studio within the debugger, using this launchSettings configuration:

```
{
"profiles": {
"Debug devenv": {
"commandName": "Executable",
"executablePath": "$(DevEnvDir)devenv.exe",
"commandLineArgs": "$(SolutionPath)"
}
}
}
```

I wonder if it would be worth adding this to the walkthrough, to help people who are using the new Projects format?

### Page URL

https://learn.microsoft.com/en-us/dotnet/desktop/winforms/controls/walkthrough-debugging-custom-windows-forms-controls-at-design-time?view=netframeworkdesktop-4.8

### Content source URL

https://github.com/dotnet/docs-desktop/blob/main/dotnet-desktop-guide/framework/winforms/controls/walkthrough-debugging-custom-windows-forms-controls-at-design-time.md

### Document Version Independent Id

f493ff27-e2e1-ad7e-38d4-46ded0c45022

### Article author

@adegeo

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.