Klausmd5.AutoMapperLegacy
14.2.0
dotnet add package Klausmd5.AutoMapperLegacy --version 14.2.0
NuGet\Install-Package Klausmd5.AutoMapperLegacy -Version 14.2.0
<PackageReference Include="Klausmd5.AutoMapperLegacy" Version="14.2.0" />
<PackageVersion Include="Klausmd5.AutoMapperLegacy" Version="14.2.0" />
<PackageReference Include="Klausmd5.AutoMapperLegacy" />
paket add Klausmd5.AutoMapperLegacy --version 14.2.0
#r "nuget: Klausmd5.AutoMapperLegacy, 14.2.0"
#:package Klausmd5.AutoMapperLegacy@14.2.0
#addin nuget:?package=Klausmd5.AutoMapperLegacy&version=14.2.0
#tool nuget:?package=Klausmd5.AutoMapperLegacy&version=14.2.0
Klausmd5.AutoMapperLegacy
Klausmd5.AutoMapperLegacy is a maintenance fork of the AutoMapper 14.x codebase.
The goal of this repository is narrow:
- keep the AutoMapper 14 API surface usable for existing applications
- carry targeted fixes that are needed after the original 14.x line stopped moving
- publish a distinct forked NuGet package instead of shipping under the upstream package identity
This fork currently includes:
- custom security maintenance for deep self-referential mapping graphs
- .NET 10 targeting for the library, tests, benchmark project, and sample app
- GitHub-based tag release packaging
Package identity
The published NuGet package is:
Klausmd5.AutoMapperLegacy
The assembly name remains AutoMapper for consumer compatibility.
Project status
This is not the upstream AutoMapper repository.
- upstream project:
AutoMapper/AutoMapper - fork maintainer:
Klausmd5 - fork repository:
https://github.com/Klausmd5/AutoMapper
Changes in this repository are maintained independently and may intentionally diverge from upstream behavior, tooling, packaging, and release process.
Installation
Package Manager:
Install-Package Klausmd5.AutoMapperLegacy
.NET CLI:
dotnet add package Klausmd5.AutoMapperLegacy
Usage
Basic configuration remains the familiar AutoMapper setup:
var configuration = new MapperConfiguration(cfg =>
{
cfg.CreateMap<Foo, FooDto>();
cfg.CreateMap<Bar, BarDto>();
});
#if DEBUG
configuration.AssertConfigurationIsValid();
#endif
var mapper = configuration.CreateMapper();
var dto = mapper.Map<FooDto>(foo);
Build
Local build:
dotnet restore AutoMapper.sln
dotnet build AutoMapper.sln -c Release
dotnet test src/UnitTests/AutoMapper.UnitTests.csproj -c Release
dotnet test src/AutoMapper.DI.Tests/AutoMapper.DI.Tests.csproj -c Release
dotnet test src/IntegrationTests/AutoMapper.IntegrationTests.csproj -c Release
Release flow
Tagged releases are built by GitHub Actions.
- create a tag in the format
vX.Y.Z - push the tag
- the workflow restores, builds, packs, uploads artifacts, and creates a GitHub release
License
This fork is distributed under the MIT license inherited from the 14.x codebase in this repository. See LICENSE.txt.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Options (>= 10.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Klausmd5.AutoMapperLegacy:
| Package | Downloads |
|---|---|
|
Klausmd5.AutoController
Auto-generated ASP.NET Core CRUD and service controllers for .NET 10 with EF Core, Gridify, Swagger, and Klausmd5.AutoMapperLegacy. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 14.2.0 | 1,114 | 3/16/2026 |