-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Adding support for .NET 10 #4586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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.
Fixes #4585