GitPedia

Dotnet ildasm

Light-weight cross platform IL disassembler tool built in C#.

From pjbgf·Updated May 20, 2026·View on GitHub·

The `dotnet ildasm` provides a command-line IL dissassembler. Simply send the assembly path as a parameter and as a result you will get the IL contents of that assembly. The project is written primarily in C#, distributed under the MIT License license, first published in 2017. Key topics include: cil, disassembler, dotnet-cli, dotnet-core, dotnet-ildasm.

Latest release: v0.12.2
January 3, 2020View Changelog →

Dot Net IL Disassembler

CircleCI
Nuget
Nuget
License

Description

The dotnet ildasm provides a command-line IL dissassembler. Simply send the assembly path as a parameter and as a result you will get the IL contents of that assembly.

Setup

The project was created as a global CLI tool, therefore you can install with a single command:

dotnet tool install -g dotnet-ildasm

Note that for the command above to work, you need .NET Core SDK 2.1.300 or above installed in your machine.

Syntax

dotnet ildasm <ASSEMBLY_PATH>
dotnet ildasm <ASSEMBLY_PATH> <-o|--output>
dotnet ildasm <ASSEMBLY_PATH> <-i|--item>
dotnet ildasm <-h|--help>

Options

-i
Filter results by method and/or classes to be disassembled.

-o
Define the output file to be created with the assembly's IL.

Examples

Output IL to the command line:

dotnet ildasm myassembly.dll

Filter results by method and/or classes to be disassembled, showing the result in the command line:

dotnet ildasm myassembly.dll -i ClassName
dotnet ildasm myassembly.dll -i ::MethodName
dotnet ildasm myassembly.dll -i ClassName::MethodName

Define the file to be created with the output:

dotnet ildasm myassembly.dll -o disassembledAssembly.il

Contributors

Showing top 2 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from pjbgf/dotnet-ildasm via the GitHub API.Last fetched: 6/24/2026