Add support for .NET 10#93
Merged
Merged
Conversation
…package references.
There was a problem hiding this comment.
Pull request overview
This PR updates the repository to support .NET 10 by moving application/test projects to net10.0, adjusting multi-targeting for the core library, and updating CI/package publishing workflows and several package references to align with the new target framework(s).
Changes:
- Updated multiple projects to target
net10.0(and updated test/benchmark dependencies accordingly). - Changed
TryAtSoftware.CleanTests.Coremulti-targeting tonet8.0;net9.0;net10.0. - Updated GitHub Actions workflows to install .NET SDKs 8/9/10 (dropping 6/7).
Reviewed changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| TryAtSoftware.CleanTests.Sample/TryAtSoftware.CleanTests.Sample.csproj | Moves sample test project to net10.0 and updates test/coverage package references. |
| TryAtSoftware.CleanTests.Core/TryAtSoftware.CleanTests.Core.csproj | Updates core library TFMs to net8/9/10 and adjusts conditional dependency versions accordingly. |
| Tests/TryAtSoftware.CleanTests.UnitTests/TryAtSoftware.CleanTests.UnitTests.csproj | Drops net6/7 test targets, adds net10, and updates test toolchain references. |
| Tests/TryAtSoftware.CleanTests.Benchmark/TryAtSoftware.CleanTests.Benchmark.csproj | Moves benchmark project to net10.0 and updates BenchmarkDotNet dependency. |
| Tests/TryAtSoftware.CleanTests.Benchmark/ConstructionManagerBenchmark.cs | Makes benchmark type public (BenchmarkDotNet discovery compatibility). |
| Tests/TryAtSoftware.CleanTests.Benchmark/CombinatorialMachineBenchmark.cs | Makes benchmark type public (BenchmarkDotNet discovery compatibility). |
| Samples/Job Agency/JobAgency.Models/JobAgency.Models.csproj | Moves Job Agency sample models to net10.0. |
| Samples/Job Agency/JobAgency.Data/JobAgency.Data.csproj | Moves Job Agency data project to net10.0 and updates referenced packages. |
| Samples/Job Agency/JobAgency.CleanTests/JobAgencyCleanTest.cs | Refactors base test class constructor to primary-constructor style (C# latest). |
| Samples/Job Agency/JobAgency.CleanTests/JobAgency.CleanTests.csproj | Moves Job Agency clean tests project to net10.0 and updates test dependencies. |
| Samples/Calculator/Calculator.CleanTests/Calculator.CleanTests.csproj | Moves Calculator clean tests project to net10.0 and updates test dependencies. |
| Samples/Calculator/Calculator.API/Program.cs | Switches API versioning namespaces to Asp.Versioning. |
| Samples/Calculator/Calculator.API/Controllers/V2/RectangleController.cs | Updates API versioning attribute namespace import to Asp.Versioning. |
| Samples/Calculator/Calculator.API/Controllers/V1/TriangleController.cs | Updates API versioning attribute namespace import to Asp.Versioning. |
| Samples/Calculator/Calculator.API/Calculator.API.csproj | Replaces deprecated API versioning package with Asp.Versioning.Mvc. |
| .github/workflows/Publish packages.yml | Updates publishing workflow SDK installation list to 8/9/10. |
| .github/workflows/CI.yml | Updates CI workflow SDK installation list to 8/9/10. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Pull Request Description
Added support for .NET 10.
Removed support for .NET 6 and 7, as well as .NET Standard 2.1.
Updated all referenced packages.
Motivation and Context
The
TryAtSoftware.CleanTestsNuGet package must innovate.Checklist