Skip to main content
Nerdbank.MessagePack package icon

Nerdbank.MessagePack

A fast and more user-friendly MessagePack serialization library for .NET and .NET Framework. This package is brought to you by one of the two major contributors to MessagePack-CSharp. As its natural successor, this library comes packed with features that its predecessor lacks, and has ongoing support. Premium support for trimming and Native AOT, secure deserialization of untrusted data, async serialization, streaming deserialization, skip serializing of default values, reference preservation, and support for reference cycles. Also features an automatic structural equality API.

Total Downloads
2.4M
2,429,638
Published
Jul 6, 2026
Latest stable version

Install

.NET CLI
dotnet add package Nerdbank.MessagePack --version 1.2.34
Package Manager Console
Install-Package Nerdbank.MessagePack -Version 1.2.34
PackageReference
<PackageReference Include="Nerdbank.MessagePack" Version="1.2.34" />

Frameworks

.NETFramework4.7.2 net8.0 net9.0 .NETStandard2.0

Dependencies

Microsoft.Bcl.HashCode
.NETFramework4.7.2
[6.0.0, )
[17.13.22, )
PolyType
.NETFramework4.7.2
[1.3.1, )
[8.0.0, )
System.IO.Pipelines
.NETFramework4.7.2
[8.0.0, )
System.Text.Json
.NETFramework4.7.2
[8.0.6, )
PolyType
net8.0
[1.3.1, )
[8.0.0, )
PolyType
net9.0
[1.3.1, )
Microsoft.Bcl.HashCode
.NETStandard2.0
[6.0.0, )
[17.13.22, )
PolyType
.NETStandard2.0
[1.3.1, )
[8.0.0, )
System.IO.Pipelines
.NETStandard2.0
[8.0.0, )
System.Text.Json
.NETStandard2.0
[8.0.6, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.

The published metadata declares 17 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.