Skip to content

Debug launch configurations don't take into account AppHosts #1691

Open
@baronfel

Description

@baronfel

Describe the bug

When a project uses an apphost (commonly via <UseAppHost>true</UseAppHost>, which is set for some project types by default and may become the default in .net 7), the TargetPath (aka path/to/dll) isn't the correct entry point for debugging. In those cases, the app's exe (or matching binary file on non-Windows OS') should be launched instead.

The SDK provides two properties to help reduce the burden on integrations like ours:

  • RunCommand
  • RunArguments

We should start collecting those from proj-info, flow it up through FSAC, and use it here instead of the TargetPath directly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAccepted suggestions that makes existing features better

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions