Skip to content

Add .NET 10 in targetFrameworks#77

Merged
prozolic merged 2 commits intomainfrom
NET10
Dec 6, 2025
Merged

Add .NET 10 in targetFrameworks#77
prozolic merged 2 commits intomainfrom
NET10

Conversation

@prozolic
Copy link
Owner

@prozolic prozolic commented Dec 6, 2025

No description provided.

Copilot AI review requested due to automatic review settings December 6, 2025 07:29
Copy link
Contributor

Copilot AI left a comment

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 adds .NET 10 target framework support across the CsToml codebase, updating project files, build configurations, benchmark tooling, and CI/CD workflows to prepare for .NET 10 compatibility. The changes also upgrade the C# language version from 13.0 to 14.0 and add a new NuGet pack-and-push workflow.

Key changes:

  • Added net10.0 to target frameworks in source projects, test projects, and sandbox applications
  • Updated C# LangVersion from 13.0 to 14.0 in src/Directory.Build.props
  • Modified benchmark configuration to use .NET 10 as the default benchmark target, with .NET 8 and 9 available via AddTargetFramework()
  • Updated GitHub Actions workflows to include .NET 10.0.x in the SDK installation matrix
  • Added new nuget-pack-push.yml workflow for automated package publishing

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/CsToml.Tests/CsToml.Tests.csproj Added net10.0 to TargetFrameworks
tests/CsToml.Generator.Tests/CsToml.Generator.Tests.csproj Added net10.0 to TargetFrameworks
tests/CsToml.Extensions.Configuration.Tests/CsToml.Extensions.Configuration.Tests.csproj Added net10.0 to TargetFrameworks
src/Directory.Build.props Added net10.0 to TargetFrameworks and updated LangVersion to 14.0
sandbox/ConsoleApp/ConsoleApp.csproj Changed TargetFramework from net9.0 to net10.0
sandbox/Benchmark/Program.cs Switched benchmark config to use AddTargetFramework() for multi-framework benchmarking
sandbox/Benchmark/Config/BenchmarkConfig.cs Changed default benchmark target from .NET 9.0 to .NET 10.0, added .NET 9.0 to AddTargetFramework()
sandbox/Benchmark/Benchmark.csproj Added net10.0 to TargetFrameworks
CsToml.slnx Added additional configuration files to solution
.github/workflows/nuget-pack-push.yml New workflow for packing and publishing NuGet packages on version tags, includes .NET 10.0.x setup
.github/workflows/build.yml Updated to use custom setup-dotnet action and added 10.0.x to SDK versions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@prozolic prozolic merged commit a605585 into main Dec 6, 2025
1 check passed
@prozolic prozolic deleted the NET10 branch December 6, 2025 07:34
@prozolic prozolic mentioned this pull request Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants