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

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Domain
documentation

Research direction

Read the walkthrough in dotnet-desktop-guide/framework/winforms/controls/walkthrough-debugging-custom-windows-forms-controls-at-design-time.md and compare its guidance with the newer .NET Projects format. Evaluate the supplied launchSettings configuration for inclusion, then update the walkthrough with an additional section if appropriate.

Written by the indexing model from the issue text.

Description

doc-idea dotnet-framework/svc Pri3 winforms/subsvc
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

Dominant language
C#
Stars
241
Forks
192
Avg merge
10h 23m
Merged PRs (30d)
6

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/docs-desktop

All issues in dotnet/docs-desktop

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.