ForkForward.Mapper 15.0.0

dotnet add package ForkForward.Mapper --version 15.0.0
                    
NuGet\Install-Package ForkForward.Mapper -Version 15.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ForkForward.Mapper" Version="15.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ForkForward.Mapper" Version="15.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ForkForward.Mapper" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ForkForward.Mapper --version 15.0.0
                    
#r "nuget: ForkForward.Mapper, 15.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ForkForward.Mapper@15.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ForkForward.Mapper&version=15.0.0
                    
Install as a Cake Addin
#tool nuget:?package=ForkForward.Mapper&version=15.0.0
                    
Install as a Cake Tool

ForkForward.Mapper

A community fork of AutoMapper, the convention-based object-object mapper for .NET, continuing the last MIT-licensed code (14.0.0) under the MIT licence. Independent project: not affiliated with, sponsored by, or endorsed by the original authors. The official AutoMapper is at automapper.io.

using ForkForward.Mapper;

var configuration = new MapperConfiguration(cfg =>
{
    cfg.CreateMap<Order, OrderDto>();
});
var mapper = configuration.CreateMapper();
var dto = mapper.Map<OrderDto>(order);

Moving from AutoMapper 14

  1. Replace the AutoMapper package reference with ForkForward.Mapper.
  2. Replace using AutoMapper with using ForkForward.Mapper (same for AutoMapper.QueryableExtensions, AutoMapper.Internal, and so on).

That is all: the types and their members are those of AutoMapper 14.0.0, and so is the behaviour, apart from the corrections the guide lists. Type names that carry the old name, such as AutoMapperMappingException and AddAutoMapper, are unchanged. Full guide: Moving from AutoMapper 14.

What this fork adds

  • Security fixes written independently from the public advisories; so far CVE-2026-32933. The two advisories of November 2026 about routes around MaxDepth do not crash this library.
  • From 15.0.0: conditions, preconditions and destination factories as classes that take services from the container, a switch for polymorphic projection, plan errors that name the map and the member, and fixes for bugs inherited from AutoMapper 14. Four of the fixes change behaviour; they are listed in Moving from AutoMapper 14.
  • Builds and tests on current .NET SDKs, on Windows and Linux; every change is measured against the previous release and must not be slower or allocate more.

.NET versions

15.0.0 targets .NET 10 and .NET 11. 14.1.1 is the last release for .NET 8 and .NET 9. 15.0.0 is a major version because it no longer targets .NET 8 and .NET 9 and because some fixes change behaviour. Despite the number it is not AutoMapper 15, which is another product under another licence: nothing of it is in this fork.

Native AOT and trimming

Not supported. A project that is published trimmed or with Native AOT gets the warnings IL2026 and IL3050 where it creates a mapper configuration. Details: https://forkforward.dev/dotnet-mapper/Native-AOT-and-trimming/

Product 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.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
15.0.0 427 11/19/2026
14.1.1 218 11/10/2026
14.1.0 184 11/10/2026
14.1.0-preview.3 110 11/9/2026
14.1.0-preview.2 60 11/9/2026