Commit a42e9d1
Upgrade to .NET 10 and update all packages (#41)
* Upgrade to .NET 10 and update all packages
- Upgrade target framework from net9.0 to net10.0
- Update CI/CD workflows to use .NET 10.0.x SDK
- Upgrade packages:
- Microsoft.CodeAnalysis.CSharp.Scripting: 4.14.0 → 5.0.0
- Microsoft.Extensions.Hosting: 10.0.0-rc.2 → 10.0.1
- Microsoft.NET.Test.Sdk: 18.0.0 → 18.0.1
- NuGet.Protocol: 6.14.0 → 7.0.1
- NuGet.Resolver: 6.14.0 → 7.0.1
- NUnit.Analyzers: 4.10.0 → 4.11.2
- NUnit3TestAdapter: 5.2.0 → 6.0.0
- Remove unnecessary System.Formats.Asn1 package (now built into .NET 10)
- Update tests to work with NUnit 6.0 console output behavior
- Update console output capture to use synchronized TextWriter
This commit supersedes PRs #36, #37, #39, and #40.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Fix tests for AssemblyLoadContext isolation in .NET 10
- Add AssemblyLoadContext workaround for CSharpScript compatibility
- Update tests to verify execution success and return values instead of
console output (Console.SetOut doesn't propagate across ALCs)
- Change timeout test to use Task.Delay which respects cancellation
- Minor cleanup in CSharpEvalTools (use CancelAsync)
See: dotnet/roslyn#45197 (comment)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 5a7a8fd commit a42e9d1
File tree
8 files changed
+159
-165
lines changed- .github/workflows
- src/InfinityFlow.CSharp.Eval
- Tools
- tests/InfinityFlow.CSharp.Eval.Tests
8 files changed
+159
-165
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
26 | 25 | | |
27 | 26 | | |
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
150 | 150 | | |
151 | | - | |
152 | 151 | | |
153 | 152 | | |
154 | 153 | | |
155 | 154 | | |
156 | | - | |
| 155 | + | |
157 | 156 | | |
158 | 157 | | |
159 | 158 | | |
| |||
0 commit comments