Commit 2afaf23
Fix CI test logger failure on .NET 10 / vstest 18
GitHubActionsTestLogger 2.x uses the legacy VSTest extension discovery
mechanism which no longer works with vstest 18.0.1 shipped in the .NET 10
SDK. Switch to v3.0.1, which targets Microsoft.Testing.Platform (MTP) and
auto-registers via TestingPlatformBuilderHook — no explicit --logger flag
required.
- Add tests/Directory.Build.props to enable UseMicrosoftTestingPlatformRunner
and include GitHubActionsTestLogger in all test projects (chains to root
Directory.Build.props)
- Bump GitHubActionsTestLogger to 3.0.1 in Directory.Packages.props
- Remove --logger "github;..." from the CI test step (auto-registered by MTP)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent dd1b9eb commit 2afaf23
3 files changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments