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.
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
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-il --version 0.0.0-rc.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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
- Detects your current RID (falls back to a supported portable RID).
- Looks under
runtimes/<rid>/native/
for the appropriateilasm
orildasm
binary. - 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 | Versions 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 |