microsoft / microsoft/vscode-dotnettools
[BUG] Debug can't find launchable target with MacOS apps
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 321
- Forks
- 54
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 2
Description
Describe the Issue
Attempting to debug an app targetting net7.0-macos fails with the error:
"{projectname}.csproj" does not support debugging. No launchable target found.
Steps To Reproduce
- Open a terminal
- mkdir mactest
- cd mactest
- dotnet new macos
- code .
- Right-click the project and select Debug>Start New Instance
Expected Behavior
The app launches with the VS Code debugger attached.
Environment Information
-OS: MacOS 13.4.1
-VS Code: 1.82.2
-Extension Version: v2.2.10
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with dotnet new macos, VS Code, and Debug > Start New Instance as described. Trace the C# Dev Kit debug launch path for net7.0-macos and verify that the app launches with the VS Code debugger attached instead of reporting that no launchable target was found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, macos, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100