Repository navigation
feat: add support for .NET 10 - #192
Conversation
🚀 Benchmark ResultsDetails
|
2a9fe99 to
a468b1c
Compare
There was a problem hiding this comment.
Pull request overview
This PR updates aweXpect.Reflection to build and test against .NET 10, extending the library’s multi-targeting and adjusting build/CI infrastructure to accommodate the new SDK and solution format.
Changes:
- Add
net10.0to the library and test target frameworks, and introduce a.NET 10API baseline file for API-compatibility testing. - Move build/benchmark infrastructure to .NET 10 (NUKE build project + benchmarks) and update CI to install .NET 10 SDKs.
- Switch from
.slnto.slnxsolution configuration and update NUKE parameters accordingly.
Reviewed changes
Copilot reviewed 15 out of 16 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| Tests/Directory.Build.props | Adds net10.0 to test target frameworks. |
| Tests/aweXpect.Reflection.Api.Tests/Expected/aweXpect.Reflection_net10.0.txt | Adds expected public API surface for net10.0 API checks. |
| Source/Directory.Build.props | Adds net10.0 to library target frameworks. |
| Source/aweXpect.Reflection/Helpers/LinqAsyncHelpers.cs | Adjusts conditional compilation around async-LINQ helpers. |
| Pipeline/Build.MutationTests.cs | Runs mutation tests targeting net10.0. |
| Pipeline/Build.csproj | Updates NUKE build project to net10.0. |
| global.json | Pins repository SDK to .NET SDK 10.0.201. |
| Directory.Packages.props | Updates build-time dependencies (NUKE + SharpCompress). |
| Benchmarks/aweXpect.Reflection.Benchmarks/aweXpect.Reflection.Benchmarks.csproj | Updates benchmarks to target net10.0. |
| aweXpect.Reflection.slnx | Introduces new XML solution file. |
| aweXpect.Reflection.sln | Removes old .sln solution file. |
| .nuke/parameters.json | Points NUKE to aweXpect.Reflection.slnx. |
| .github/workflows/ci.yml | Installs .NET 10.0.x in CI matrix. |
| .github/workflows/ci-analysis.yml | Installs .NET 10.0.x for analysis workflows. |
| .github/workflows/build.yml | Installs .NET 10.0.x for build workflows. |
| .github/copilot-instructions.md | Updates contributor instructions for .NET 10, but still contains outdated SDK/solution references (see comments). |
|
|
This is addressed in release v1.1.0. |



This pull request updates the project to support .NET 10.0 alongside existing frameworks and modernizes related tooling and configuration. The main changes include updating target frameworks, CI/CD pipeline definitions, and build tooling versions. Additionally, the solution file has been migrated to the
.slnxformat.Framework and Build System Updates:
net10.0now included inTargetFrameworksinSource/Directory.Build.propsandTests/Directory.Build.props) and for the benchmarks and build projects (Benchmarks/aweXpect.Reflection.Benchmarks.csproj,Pipeline/Build.csproj).global.json,.github/copilot-instructions.md).Nuke.CommonandNuke.Componentsto 10.1.0,SharpCompressto 0.47.4).CI/CD Pipeline Changes:
.github/workflows/build.yml,ci.yml,ci-analysis.yml).Project and Source Code Adjustments:
net10.0and removed explicit Stryker version pinning (Pipeline/Build.MutationTests.cs).#if NET8_0instead of#if NET8_0_OR_GREATER, ensuring correct async LINQ extension method availability.Solution File Migration:
.slnsolution file with the new.slnxformat and updated build parameters to reference the new file (aweXpect.Reflection.slnx,.nuke/parameters.json).Documentation:
.github/copilot-instructions.md).These changes ensure the project is ready for .NET 10.0, keeps build tooling up to date, and improves CI/CD coverage for the latest .NET features.