Skip to main content
dnlib package icon

dnlib

Reads and writes .NET assemblies and modules, Windows PDBs and Portable PDBs. For better *Windows PDB* writer support, you should add a reference to `Microsoft.DiaSymReader.Native` nuget package too, see the dnlib README for more info: https://github.com/0xd4d/dnlib#windows-pdbs . You don't need to do anything special for *Portable PDB* support.

Total Downloads
2.7M
2,738,388
Published
May 15, 2025
Latest stable version

Install

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

Frameworks

.NETFramework3.5 .NETFramework4.5 net6.0 .NETStandard2.0

Dependencies

System.Reflection.Emit
.NETStandard2.0
[4.7.0, )
[4.7.0, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

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

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.