TUnit icon indicating copy to clipboard operation
TUnit copied to clipboard

Tests disappear from VS Code test explorer after upgrading to .net 10

Open onionhammer opened this issue 3 months ago • 3 comments

after upgrading from .net 9 to .net 10, and setting the global.json to:

{
  "sdk": {
    "rollForward": "minor",
    "version": "10.0.100"
  },
  "test": {
    "runner": "Microsoft.Testing.Platform"
  }
}

The test explorer now appears empty

.vscode/settings.json

{
    "[csharp]": {
        "editor.formatOnSave": true,
        "editor.defaultFormatter": "csharpier.csharpier-vscode"
    },
    "dotnet.testWindow.useTestingPlatformProtocol": true
}

onionhammer avatar Nov 12 '25 14:11 onionhammer

Sounds like this might be a bug for the VS Code team

thomhurst avatar Nov 12 '25 14:11 thomhurst

Could be, but the ball has to start rolling somewhere :P

onionhammer avatar Nov 12 '25 16:11 onionhammer

Looks like they fixed it? Anyone else confirm?

onionhammer avatar Nov 13 '25 16:11 onionhammer

If all is fixed I'll close this 😄

thomhurst avatar Dec 07 '25 23:12 thomhurst