Skip to content

Upgrade to .NET 10 - #1

Merged
dimandrom merged 1 commit into
mainfrom
upgrade-net10
Oct 30, 2026
Merged

dimandrom merged 1 commit into
mainfrom
upgrade-net10

Conversation

@dimandrom

Copy link
Copy Markdown
Owner

Summary

  • Retarget MagicMapper and the test, benchmark, and sample projects to net10.0. The library previously shipped only net8.0 (there is no netstandard target to keep).
  • Align framework packages with the .NET 10 servicing release: Microsoft.Extensions.Options and Microsoft.Extensions.DependencyInjection 10.0.14, Microsoft.EntityFrameworkCore.SqlServer 10.0.14, and Microsoft.SourceLink.GitHub 10.0.403.
  • Pin System.Security.Cryptography.Pkcs to 9.0.22. Microsoft.Data.SqlClient 6.1.7 (pulled in by EF Core) depends on 9.0.11, which is affected by GHSA-846f-f764-76mx and GHSA-2fmv-rv2c-59x7, and that audit warning fails the build.
  • Install the .NET 10 SDK in the CI and release workflows.
  • Update the Linux ApiCompat prebuild so it can extract the AutoMapper 14 contract assembly from lib/net8.0 (that package no longer ships netstandard2.1), and refresh ApiCompatBaseline.txt for the current contract.

Test plan

  • dotnet build AutoMapper.sln -c Release with SDK 10.0.403 (0 warnings, 0 errors)
  • Unit tests: 1185 passed
  • DI tests: 45 passed
  • Integration tests: 128 passed against SQL Server (LocalDB is Windows-only; CI still installs LocalDB via Setup.ps1)
  • dotnet list package --vulnerable reports no vulnerable packages
Open in Web Open in Cursor 

Retarget the library, tests, and samples to net10.0 and align the Microsoft.Extensions, Entity Framework Core, and SourceLink packages with that release.
@cursor
cursor Bot force-pushed the upgrade-net10 branch 2 times, most recently from a239ac9 to 5a76cea Compare October 30, 2026 08:31
@dimandrom
dimandrom merged commit 4702f15 into main Oct 30, 2026
1 check passed
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.

1 participant