microsoft / microsoft/vscode-dotnettools

[WebToolsE2E][Green]“No Launchable Target Found” error when debugging

Open
#3,133 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-dotnet-debugging
Dominant language
No language data
Stars
321
Forks
54
Avg merge
2d 19h
Merged PRs (30d)
2

Description

REGRESSION INFO: Worked in April Stable CDK 3.20.197 & pre-release 3.14.196

INSTALL STEPS

OS: Window x64 & Mac arm
Install SDK 8.0.421
Install VS Code insiders - 1.122.0
Install main CDK 3.14.279 (include C#2.143.9)

REPRO STEPS

  1. Open vs code > Create Console project
  2. Wait for the project loading completed
  3. Right-click the csproj then select Debug > Start New Instance

ACTUAL
Get an error message: No launchable target found.

Image

EXPECTED
Can run the project successfully.

Note
This issue only repro on .NET 8.0 + main branch CDK and does not repro on .NET 9.0/10.0 + main branch CDK.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

No source files or tests are named. Reproduce with VS Code Insiders, the main CDK, C# Dev Kit, and a .NET 8 console project, then inspect the debug launch path used by Start New Instance. Done means the project launches successfully without the “No launchable target found” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, vscode
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.