Skip to content

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

Open
@gbakeman

Description

@gbakeman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions