Skip to content

Add .NET 10 / EF Core 10 / AutoMapper 16 support#87

Open
xrkolovos wants to merge 2 commits intoAutoMapper:masterfrom
xrkolovos:fix/dotnet10-automapper16
Open

Add .NET 10 / EF Core 10 / AutoMapper 16 support#87
xrkolovos wants to merge 2 commits intoAutoMapper:masterfrom
xrkolovos:fix/dotnet10-automapper16

Conversation

@xrkolovos
Copy link
Copy Markdown

Summary

  • Add net10.0 target framework alongside existing net8.0 and net9.0
  • Update AutoMapper to 16.x, AutoMapper.Collection to 13.x, ExpressionMapping to 10.x
  • Use per-TFM EF Core references (8.0.16 / 9.0.7 / 10.0.5) since EF Core 10 only supports net10.0
  • Update test dependencies: FluentAssertions 8.9.0, xunit 2.9.3, Microsoft.NET.Test.Sdk 18.3.0
  • Update tooling: Roslynator 4.15.0, MinVer 7.0.0
  • Add setup-dotnet step to CI/release workflows for all required SDKs

Test plan

  • Build succeeds for all 3 TFMs (net8.0, net9.0, net10.0)
  • All 180 tests pass (60 per TFM)
  • CI pipeline passes with .NET 10 SDK setup

xrkolovos and others added 2 commits March 17, 2026 17:34
- Add net10.0 target framework
- Update AutoMapper to 16.x, AutoMapper.Collection to 13.x, ExpressionMapping to 10.x
- Update EF Core per TFM: 8.0.16 (net8.0), 9.0.7 (net9.0), 10.0.5 (net10.0)
- Update test dependencies: FluentAssertions 8.9.0, xunit 2.9.3, Test SDK 18.3.0
- Update tooling: Roslynator 4.15.0, MinVer 7.0.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
windows-latest may not have .NET 8/9/10 pre-installed,
so explicitly set up all required SDKs for multi-targeting.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@xrkolovos
Copy link
Copy Markdown
Author

@dotnet-policy-service agree company="egritosgroup"

@xrkolovos
Copy link
Copy Markdown
Author

@jbogard who can check and accept this?
thank you

@aarondglover
Copy link
Copy Markdown

@jbogard who can check and accept this? thank you

@jbogard I am blocked without this package supporting v16

@aarondglover
Copy link
Copy Markdown

@xrkolovos can you request a PR review from Jimmy?

@xrkolovos
Copy link
Copy Markdown
Author

@lbargaoanu @Nicot3 can you merge this pr? thank you

@Nicot3
Copy link
Copy Markdown

Nicot3 commented Mar 27, 2026

@xrkolovos I've just have a quick look without testing or building but, it is possible to add more versions? For example, AutoMapper.Extensions on version 12 is compatible with .NET 10, and with this change is not going to be possible to use this version anymore. This will force update to some people that maybe don't need to update his dependencies.

I'm not 100% sure anyways, need to investigate a bit more or get a second opinion 😄

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.

4 participants