ForkForward.Mapper 14.1.0-preview.2

This is a prerelease version of ForkForward.Mapper.
There is a newer version of this package available.
See the version list below for details.
dotnet add package ForkForward.Mapper --version 14.1.0-preview.2
                    
NuGet\Install-Package ForkForward.Mapper -Version 14.1.0-preview.2
                    
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="14.1.0-preview.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ForkForward.Mapper" Version="14.1.0-preview.2" />
                    
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 14.1.0-preview.2
                    
#r "nuget: ForkForward.Mapper, 14.1.0-preview.2"
                    
#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@14.1.0-preview.2
                    
#: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=14.1.0-preview.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=ForkForward.Mapper&version=14.1.0-preview.2&prerelease
                    
Install as a Cake Tool

<p align="center"> <img src="assets/brand/banner.png" alt="ForkForward.Mapper: community fork of AutoMapper, MIT, developed with AI tools" width="640"> </p>

ForkForward.Mapper

ForkForward.Mapper is a community fork of AutoMapper, the convention-based object-object mapper for .NET created by Jimmy Bogard. It continues the last MIT-licensed code of AutoMapper and keeps it building on current .NET. Changes in this fork are written by AI coding tools and automation; people review them and are responsible for releases.

This is not the official AutoMapper. ForkForward is an independent project. It is not affiliated with, sponsored by, or endorsed by Jimmy Bogard, Lucky Penny Software, or the AutoMapper project. The name "AutoMapper" appears here only to say where the code comes from. The official AutoMapper is at automapper.io.

Where the code comes from

Original project AutoMapper, by Jimmy Bogard, Lucian Bargaoanu and the AutoMapper contributors
Source repository AutoMapper/AutoMapper.Archive (archived by its owners)
Forked from commit 92816585 of 2025-06-20, which is release v14.0.0 plus 3 commits
Licence of the original code MIT, Copyright (c) 2010 Jimmy Bogard
Licence of this fork MIT, unchanged (LICENSE.txt)
What this fork changed git log 92816585..HEAD, summarised in NOTICE.md

All the design, the API and nearly all of the code are the work of the original authors. This fork adds maintenance on top.

Why this fork exists

The official AutoMapper continues at LuckyPennySoftware/AutoMapper under the Reciprocal Public License 1.5 or a commercial licence. The MIT-licensed code was archived at the commit above. The MIT licence lets anyone keep that code alive, and that is all this fork does: it keeps the MIT line compiling, tested and compatible as .NET moves on.

If you want new features from the original authors, or commercial support, use the official AutoMapper.

How this fork is developed

  • Changes are produced with AI coding tools and automation such as Dependabot.
  • A person reviews every change before it is merged and decides what gets released.
  • No code is taken from AutoMapper releases published after the fork point, or from any source whose licence does not allow it.

The full rules are in AI_POLICY.md.

Status

  • No NuGet package is published yet. Until then, build from source. The plan is in ROADMAP.md.
  • The package will be called ForkForward.Mapper.
  • Namespaces and the assembly name are still AutoMapper, so code written for AutoMapper 14 compiles without changes.
  • Every build compares the public API with the official AutoMapper 14.0.0 package and writes the differences to ApiCompatBaseline.txt. An API change therefore shows up in review as a change to that file.

Using it

Configure the mapper once at startup:

var configuration = new MapperConfiguration(cfg =>
{
    cfg.CreateMap<Foo, FooDto>();
    cfg.CreateMap<Bar, BarDto>();
});
// only during development, validate your mappings; remove it before release
#if DEBUG
configuration.AssertConfigurationIsValid();
#endif
var mapper = configuration.CreateMapper();

Then map:

var fooDto = mapper.Map<FooDto>(foo);
var barDto = mapper.Map<BarDto>(bar);

The documentation inherited from AutoMapper is in docs/source, starting with Getting started. It still describes this code, because the API has not changed.

Building

The project builds and is tested on Windows and on Linux. You need the .NET SDK 9 or newer and the .NET 9 runtime, because the tests target net9.0.

./Build.ps1

This builds the solution, runs all tests and packs ForkForward.Mapper into artifacts/. It runs under PowerShell on both systems.

The integration tests need a SQL Server. On Windows they use LocalDB. Anywhere else, point them at a server with FORKFORWARD_TEST_SQLSERVER; see CONTRIBUTING.md.

Repository What it is
dotnet-mapper This repository: the mapper, including dependency injection support (services.AddAutoMapper(...))
dotnet-mapper-extensions Historical, archived copy of AutoMapper.Extensions.Microsoft.DependencyInjection. Its code is part of this repository, so nothing is developed or released there.

Reporting problems and contributing

Open an issue in this repository for bugs in this fork. Do not report them to the original AutoMapper project; its maintainers are not responsible for this code. See CONTRIBUTING.md.

The red node is the origin: it uses the red of the AutoMapper logo. The two arrows are the code moving forward from there. The mark is new artwork; the original AutoMapper logo is not used.

Licence and credits

ForkForward.Mapper is released under the MIT licence, the same licence the original code was published under.

AutoMapper is Copyright (c) 2010 Jimmy Bogard and other contributors. Thank you to them for building it and for publishing it as open source. Modifications made in this fork are Copyright (c) 2026 ForkForward contributors and are released under the same MIT terms. Details are in NOTICE.md.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
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