-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
area-testTest discovery, execution, debuggingTest discovery, execution, debuggingbugSomething isn't workingSomething isn't working
Description
Describe the Issue
If I add an equivalent legacy .sln for the same projects, Test Explorer starts showing the tests.
So this does not appear to be a .NET SDK or test adapter problem. It looks like a C# Dev Kit / VS Code project-loading or test-discovery issue specific to .slnx.
Steps To Reproduce
- Create a solution with the current SDK so it defaults to .slnx:
- Create a class library and xUnit test project:
- Add both projects to the .slnx:
- Confirm CLI test discovery works:
- Open the folder in VS Code with C# Dev Kit enabled.
- Observe that Test Explorer does not discover the tests.
- Create an equivalent legacy .sln and add the same projects:
- Reopen or switch to the .sln.
- Observe that Test Explorer now discovers the tests.
Expected Behavior
If C# Dev Kit can open the .slnx and dotnet test Repro.slnx succeeds, Test Explorer should also discover tests from that solution.
Environment Information
- OS: Windows
- Extension version: 3.10.4
detailed version info:
Version: 1.113.0 (user setup)
Commit: cfbea10c5ffb233ea9177d34726e6056e89913dc
Date: 2026-03-24T15:07:18+01:00
Electron: 39.8.3
ElectronBuildId: 13620978
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26100
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-testTest discovery, execution, debuggingTest discovery, execution, debuggingbugSomething isn't workingSomething isn't working