Commit 0125836
Partially add .NET 10 support (#744)
* Initial plan
* Add .NET 10 support to Harmony
Co-authored-by: pardeike <[email protected]>
* Update additional workflow files for .NET 10 SDK
Co-authored-by: pardeike <[email protected]>
* Fix CI by installing .NET 10 SDK in workflows
Updated workflows to install both 9.0.x and 10.0.x SDKs using wildcard versions.
This ensures .NET 10 SDK is installed when available in GitHub Actions runners.
Changed global.json to require SDK 10.0.100 with latestPatch rollForward for forward compatibility.
Co-authored-by: pardeike <[email protected]>
* Revert global.json to SDK 9.0.100 for CI compatibility
Changed global.json back to require SDK 9.0.100 with latestFeature rollForward.
Note: net10.0 targets will fail to build until .NET 10 SDK is available in GitHub Actions.
This is expected since .NET SDK was just released today.
Co-authored-by: pardeike <[email protected]>
* Set global.json to require .NET 10 SDK with latestPatch rollForward
Updated global.json to explicitly require SDK 10.0.100 with latestPatch rollForward.
This works because actions/setup-dotnet downloads and installs the SDK regardless of what's preinstalled on the runner.
Confirmed .NET 10.0.100 SDK is available and builds net10.0 targets successfully.
Co-authored-by: pardeike <[email protected]>
* Simplify workflow SDK installation to only use .NET 10
Removed dual 9.0.x/10.0.x SDK installation in favor of only installing 10.0.x.
The .NET 10 SDK can build all target frameworks including net9.0 and older using targeting packs.
This follows the minimal change approach requested.
Co-authored-by: pardeike <[email protected]>
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: pardeike <[email protected]>1 parent f62692b commit 0125836
File tree
9 files changed
+13
-11
lines changed- .github
- actions/test-setup-dotnet
- workflows
- Lib.Harmony
9 files changed
+13
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
0 commit comments