Skip to content

Conversation

@jbogard
Copy link
Contributor

@jbogard jbogard commented Nov 13, 2025

Fixes #4585

@jbogard jbogard added this to the 16.0.0 milestone Nov 13, 2025
@jbogard jbogard requested a review from Copilot November 13, 2025 14:46
Copilot finished reviewing on behalf of jbogard November 13, 2025 14:48
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.

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