Commit 5c9d54d
Point MSTest.Sdk back to the classic sourcegen + engine wiring
Restore the MSTestEngineVersion property and re-add the MSTest.Engine package reference in the NativeAOT engine, referencing both MSTest.Engine and MSTest.SourceGeneration at that version (as in 4.2.3), while keeping the 4.3 packaging/CPM/SDK-layering improvements and report extensions.
Since MSTest.Engine and MSTest.SourceGeneration are no longer built from this repo, hardcode the version to the last co-published preview (2.0.0-alpha.26264.3) so consumer projects always resolve a real package instead of an unpublished -dev/-ci build.
Also drop the 4.3-only MSTest.TestAdapter reference and the EnableMSTestRunner/IsTestingPlatformApplication property group from the NativeAOT runner. Those were added for the new source generator; with the classic MSTest.Engine they caused a second test framework to be registered ('The test framework adapter factory has already been registered'). Restoring the 4.2 wiring (MSTest.Engine + MSTest.SourceGeneration only) fixes NativeAot_Smoke_Test, verified locally.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent 7a12129 commit 5c9d54d
3 files changed
Lines changed: 15 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | 49 | | |
57 | 50 | | |
58 | 51 | | |
| |||
81 | 74 | | |
82 | 75 | | |
83 | 76 | | |
84 | | - | |
| 77 | + | |
85 | 78 | | |
86 | 79 | | |
87 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 6 | | |
20 | 7 | | |
21 | 8 | | |
| |||
43 | 30 | | |
44 | 31 | | |
45 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
46 | 39 | | |
47 | | - | |
| 40 | + | |
48 | 41 | | |
49 | | - | |
| 42 | + | |
50 | 43 | | |
51 | 44 | | |
52 | 45 | | |
| |||
64 | 57 | | |
65 | 58 | | |
66 | 59 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 60 | | |
79 | 61 | | |
80 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| |||
0 commit comments