Skip to content

Add support for .NET 10#93

Merged
TonyTroeff merged 3 commits into
mainfrom
troeff/support-dotnet-10
Jun 5, 2026
Merged

Add support for .NET 10#93
TonyTroeff merged 3 commits into
mainfrom
troeff/support-dotnet-10

Conversation

@TonyTroeff

@TonyTroeff TonyTroeff commented Jun 5, 2026

Copy link
Copy Markdown
Member

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.CleanTests NuGet package must innovate.

Checklist

  • I have tested these changes thoroughly.
  • I have added/updated relevant documentation.
  • My code follows the project's coding guidelines.
  • I have performed a self-review of my changes.
  • My changes are backwards compatible.

@TonyTroeff TonyTroeff added this to the 1.2.0 milestone Jun 5, 2026
@TonyTroeff TonyTroeff self-assigned this Jun 5, 2026
Copilot AI review requested due to automatic review settings June 5, 2026 20:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.Core multi-targeting to net8.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.

Comment thread TryAtSoftware.CleanTests.Core/TryAtSoftware.CleanTests.Core.csproj
@sonarqubecloud

sonarqubecloud Bot commented Jun 5, 2026

Copy link
Copy Markdown

@TonyTroeff TonyTroeff merged commit 1d6a6aa into main Jun 5, 2026
2 checks passed
@TonyTroeff TonyTroeff deleted the troeff/support-dotnet-10 branch June 5, 2026 20:14
@TonyTroeff TonyTroeff added the enhancement A non-essential complement to a feature or a task label Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement A non-essential complement to a feature or a task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants