ICSharpCode.Decompiler
11.2.0.10050
Prefix Reserved
dotnet add package ICSharpCode.Decompiler --version 11.2.0.10050
NuGet\Install-Package ICSharpCode.Decompiler -Version 11.2.0.10050
<PackageReference Include="ICSharpCode.Decompiler" Version="11.2.0.10050" />
<PackageVersion Include="ICSharpCode.Decompiler" Version="11.2.0.10050" />
<PackageReference Include="ICSharpCode.Decompiler" />
paket add ICSharpCode.Decompiler --version 11.2.0.10050
#r "nuget: ICSharpCode.Decompiler, 11.2.0.10050"
#:package ICSharpCode.Decompiler@11.2.0.10050
#addin nuget:?package=ICSharpCode.Decompiler&version=11.2.0.10050
#tool nuget:?package=ICSharpCode.Decompiler&version=11.2.0.10050
About
ICSharpCode.Decompiler is the decompiler engine used in ILSpy.
You can learn how to use it from the following samples/real-world applications:
- decompiler-nuget-demos.verso in the ILSpy repository. This shows the basics of using the NuGet (Verso extension for VSCode needed).
- ILSpyCmd project in the ILSpy repository. This dotnet tool shows automation of whole assembly decompilation.
- ILSpy.Backend in the ILSpy Visual Studio Code Extension repository. This LSP shows listing / decompiling members.
- ILSpy itself. Complex, recommended only for advanced users and definitely not the place to get started.
Trimming and Native AOT
The assembly is annotated as trim- and AOT-compatible (IsTrimmable and IsAotCompatible assembly metadata), and every build publishes it through the ILCompiler with the whole assembly rooted and warnings as errors, then compares the native binary's output with the managed build's (ICSharpCode.Decompiler.AotTest in the repository). Two things to know when hosting the decompiler in a trimmed, single-file or Native AOT app:
DecompilerEventSource(theICSharpCode.Decompilertracing provider) stays silent inPublishAotapps unless the app sets<EventSourceSupport>true</EventSourceSupport>: the ILCompiler defaults that feature switch to false.- Single-file and Native AOT hosts have no framework assemblies next to the running runtime. The resolver then takes framework facades (mscorlib, netstandard, System.*) for assemblies targeting other frameworks from an installed shared framework of the same major version as the host's runtime (found through
DOTNET_ROOTand the default install locations, as the .NET host does, and throughPATHas a last resort), which is what a framework-dependent build of the same app would run on. A host on a machine without an installed .NET runtime has to pass aUniversalAssemblyResolverwith the reference directories added.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 was computed. 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 was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- System.Collections.Immutable (>= 9.0.0)
- System.Reflection.Metadata (>= 9.0.0)
NuGet packages (87)
Showing the top 5 NuGet packages that depend on ICSharpCode.Decompiler:
| Package | Downloads |
|---|---|
|
Microsoft.DocAsCode.Metadata.ManagedReference
Package Description |
|
|
Docfx.Dotnet
Technical documentation tool with markdown, API docs for .NET, REST API and more. |
|
|
Atc.XUnit
Atc.XUnit is a collection of helper method for code compliance of documentation and tests. |
|
|
OmniSharp.Roslyn.CSharp
Package Description |
|
|
Stratis.SmartContracts.CLR
Package Description |
GitHub repositories (46)
Showing the top 20 popular GitHub repositories that depend on ICSharpCode.Decompiler:
| Repository | Stars |
|---|---|
|
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
|
|
|
dotnet/efcore
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
|
|
|
tModLoader/tModLoader
A mod to make and play Terraria mods. Supports Terraria 1.4 (and earlier) installations
|
|
|
dotnet/docfx
Static site generator for .NET API documentation.
|
|
|
MattParkerDev/SharpIDE
A modern, cross platform IDE for .NET, built with .NET & Godot
|
|
|
waf/CSharpRepl
A command line C# REPL with syntax highlighting – explore the language, libraries and nuget packages interactively.
|
|
|
dotnet/extensions
This repository contains a suite of libraries that provide facilities commonly needed when creating production-ready applications.
|
|
|
dotnet/interactive
.NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
|
|
|
ashmind/SharpLab
.NET language playground
|
|
|
peachpiecompiler/peachpie
PeachPie - the PHP compiler and runtime for .NET and .NET Core
|
|
|
tareqimbasher/NetPad
A cross-platform C# editor and playground.
|
|
|
dotnet/android
.NET for Android provides open-source bindings of the Android SDK for use with .NET managed languages such as C#
|
|
|
dahall/Vanara
A set of .NET libraries for Windows implementing PInvoke calls to many native Windows APIs with supporting wrappers.
|
|
|
OmniSharp/omnisharp-roslyn
OmniSharp server (HTTP, STDIO) based on Roslyn workspaces
|
|
|
icsharpcode/AvaloniaILSpy
Avalonia-based .NET Decompiler (port of ILSpy)
|
|
|
badamczewski/PowerUp
⚡ Decompilation Tools and High Productivity Utilities ⚡
|
|
|
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK.
|
|
|
AElfProject/AElf
An AI-enhanced cloud-native layer-1 blockchain network.
|
|
|
DragoQCC/CrucibleC2
A C# Command & Control framework
|
|
|
uholeschak/ediabaslib
.NET BMW and VAG Ediabas interpreter library
|
| Version | Downloads | Last Updated |
|---|---|---|
| 11.2.0.10050 | 1,529 | 10/27/2026 |
| 11.1.0.9782 | 50,496 | 9/23/2026 |
| 11.0.0.9375 | 33,884 | 8/12/2026 |
| 11.0.0.9335-rc | 205 | 8/4/2026 |
| 11.0.0.9223-preview1 | 221 | 7/19/2026 |
| 10.1.1.8388 | 21,614 | 7/14/2026 |
| 10.1.0.8386 | 28,236 | 5/25/2026 |
| 10.0.1.8346 | 14,658 | 4/27/2026 |
| 10.0.0.8330 | 11,226 | 4/6/2026 |
| 10.0.0.8323-preview3 | 584 | 3/25/2026 |
| 10.0.0.8282-preview2 | 3,258 | 12/30/2025 |
| 10.0.0.8079-preview1 | 4,609 | 7/24/2025 |
| 9.1.0.7988 | 517,780 | 4/22/2025 |
| 9.0.0.7889 | 159,973 | 1/19/2025 |
| 9.0.0.7876-RC | 545 | 1/6/2025 |
| 9.0.0.7833-preview3 | 2,560 | 11/10/2024 |
| 9.0.0.7660-preview2 | 11,835 | 6/9/2024 |
| 9.0.0.7618-preview1 | 2,011 | 4/1/2024 |
| 8.2.0.7535 | 802,823 | 11/6/2023 |
| 8.1.1.7464 | 46,407 | 9/16/2023 |