formulahendry / formulahendry/vscode-dotnet-test-explorer

Debugger stopped launching after switching project to .net8

Open
#393 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
208
Forks
93
PR merge metrics
No merged PRs in 30d

Description

Hello, I have a test project on .net6 and execute tests from .Net Test Explorer (v0.7.8) in VS code (1.95.3).
After migrating to .net8 tests execute from .Net Test Explorer as before, but if running test in debug mode debugger is not launching at all.

Execution environment:
1. launch.json targets /bin/Debug/net8.0/MyTestProject.dll
2. .NET SDKs (8.0.404) - installed after deleting all other versions
3. .NET runtimes installed:
Microsoft.AspNetCore.App 8.0.11,
Microsoft.NETCore.App 8.0.11,
Microsoft.WindowsDesktop.App 8.0.11
2. .Net Test Explorer (v0.7.8)
4. VS code (1.95.3)
5. NUnit (4.2.2)
6. NUnit3TestAdapter (4.6.0)
7. NUnit.Analyzers (4.4.0)
8. Microsoft.NET.Test.Sdk (17.12.0)
9. Windows 11

.Net Test Explorer output:
![image](https://github.com/user-attachments/assets/d495132a-048c-4d9e-a2da-c4ae5ea05eae)

Thanks in advance for any sort of assist!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the launch.json target /bin/Debug/net8.0/MyTestProject.dll and the .Net Test Explorer output, then reproduce the difference between the reported .NET 6 and .NET 8 projects. Compare the debug and normal test-launch paths using the listed VS Code, extension, SDK, NUnit, and adapter versions; done means an .NET 8 test starts under the debugger.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
devtools, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.