Skip to content

Conversation

@jbogard
Copy link
Contributor

@jbogard jbogard commented Nov 13, 2025

Fixes #4585

Copy link

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 support for .NET 10 to the AutoMapper project by updating target frameworks, package versions, and CI/CD workflows. The changes ensure the library can be built and tested against the latest .NET version.

Key changes:

  • Added net10.0 as a target framework across test and application projects, and as an additional multi-target in the main AutoMapper library
  • Updated C# language version from 13.0 to 14.0 to align with .NET 10
  • Updated Microsoft.Extensions.* and Microsoft.EntityFrameworkCore packages to version 10.0.0
  • Added .NET 10.0.x SDK to GitHub Actions CI and release workflows

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/AutoMapper/AutoMapper.csproj Added net10.0 to multi-targeting, updated LangVersion to 14.0, and updated minimum package versions to 10.0.0
src/UnitTests/AutoMapper.UnitTests.csproj Updated target framework to net10.0 and Microsoft.Extensions.Diagnostics.Testing to 10.0.0
src/IntegrationTests/AutoMapper.IntegrationTests.csproj Updated target framework to net10.0 and Microsoft.EntityFrameworkCore.SqlServer to 10.0.0
src/TestApp/TestApp.csproj Updated target framework to net10.0 and Microsoft.Extensions.DependencyInjection to 10.0.0
src/Benchmark/Benchmark.csproj Updated target framework to net10.0
src/AutoMapper.DI.Tests/AutoMapper.DI.Tests.csproj Updated target framework to net10.0 and Microsoft.Extensions.DependencyInjection to 10.0.0
.github/workflows/ci.yml Added .NET 10.0.x SDK to CI workflow
.github/workflows/release.yml Added .NET 10.0.x SDK to release workflow

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

@jbogard jbogard merged commit f996085 into main Nov 19, 2025
6 checks passed
@jbogard jbogard deleted the net10 branch November 19, 2025 21:21
This was referenced Dec 8, 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.

Support for .NET 10

2 participants