dotnet-il 0.0.0-rc.4

This is a prerelease version of dotnet-il.
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global dotnet-il --version 0.0.0-rc.4
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local dotnet-il --version 0.0.0-rc.4
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-il&version=0.0.0-rc.4&prerelease
                    
nuke :add-package dotnet-il --version 0.0.0-rc.4
                    

A cross-platform .NET global tool for assembling and disassembling IL code using the platform’s native ILAsm/ILDasm binaries.

Installation

dotnet tool install --global dotnet-il

Usage

dotnet il <command> [<args>]

Commands

  • asm Assemble IL source into a managed assembly.

    dotnet il asm MyType.il -o MyAssembly.dll
    
  • dasm Disassemble a managed assembly into IL source.

    dotnet il dasm MyAssembly.dll -o MyType.il
    
  • --help, -h Show help for the tool or a specific sub-command.

How It Works

  1. Detects your current RID (falls back to a supported portable RID).
  2. Looks under runtimes/<rid>/native/ for the appropriate ilasm or ildasm binary.
  3. Spawns the native process with your arguments and relays its exit code.

Examples

# Disassemble
dotnet il dasm bin/Release/net9.0/MyApp.dll

# Re-assemble
dotnet il asm out/MyApp.il -o rebuilt.dll

Troubleshooting

  • Unsupported RID: Ensure you’re on one of the supported RIDs listed above.
  • Binary not found: Confirm your package feed contains the RID-specific runtime packs.
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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 is compatible.  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.

This package has no dependencies.

Version Downloads Last updated
1.0.0 156 5/27/2025
0.0.0-rc.4 117 5/27/2025
0.0.0-rc.3 114 5/27/2025
0.0.0-rc.2 116 5/27/2025
0.0.0-rc.1 113 5/27/2025