Commit 7fb9608
Fix dotnet test failing on .NET 10 with Microsoft.Testing.Platform 2.x.
The .NET 10 SDK ships microsoft.testing.platform.msbuild 2.x which no longer
supports the legacy VSTest execution path. Passing TestingPlatformDotnetTestSupport=true
on the dotnet test command line forces all projects in the solution to use the new
MTP-native test execution model, bypassing the VSTest target.
Also fixed build-pr.yml: the test step targeted net10.0 but only installed
up to 8.0.x SDK, causing the run to fail before any tests executed.
Updated to install 8.0.x, 9.0.x, and 10.0.x to match build.yml.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent aa0edfd commit 7fb9608
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | 49 | | |
| 50 | + | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments