Skip to content

[v9.9] It shows the error 'Error running command csdevkit.debug.projectDebugLaunch' when debugging an ASP.NET Core Empty project and skipping the selection of a launch profile #3498

Description

@ArabellaQi

Describe the issue

1.Low Priority.
2.Not repro in the C# Dev Kit Extension v3.31.218 & C# Extension v2.151.27.

Error running command csdevkit.debug.projectDebugLaunch: No C# project is currently loaded. Please create a C# project in order to debug.. This is likely caused by the extension that contributes csdevkit.debug.projectDebugLaunch.
No C# project is currently loaded. Please create a C# project in order to debug.
Image

Image

Collect logs

csdevkit-logs-2026-09-09T07-44-44.zip

Steps to reproduce

1.Create a ASP.NET Core Empty project.
2.In C# Project Details->Right-click the WebApplication->Debug->Start New Instance.
3.When selecting a launch profile, do not select them; instead, click on a blank area in VS Code.
Image

Expected behavior

No error pops up when skipping the selection of a launch profile.

Environment information

.NET Install Tool: Pre-release 3.1.0
C# Dev Kit Extension: Internal main v9.9.522+170457
C# Extension: Internal main v2.152.10
.NET SDKs: 11.0.100-preview.7.26381.103
VSCode Insiders: 1.137.1
Platform: Windows X64

Activity

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

Metadata

Metadata

Labels

bugSomething isn't workingv11

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions