Open
Description
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