ILSpy is the open-source .NET assembly browser and decompiler.
Download: latest release | latest CI build (master)
Note: Only the CI builds support .NET Standard/Core assemblies. However, those builds are not yet at feature parity with the released bits, see C# language support status for details.
Looking for a (Linux/Mac/Windows) command line client (or a sample for the ICSharpCode.Decompiler Nuget)? Check out ICSharpCode.Decompiler.Console!
ILSpy is distributed under the MIT License.
Included open-source libraries:
- Mono.Cecil: MIT License (thanks to Jb Evain)
- AvalonEdit: LGPL
- SharpTreeView: LGPL
- ICSharpCode.Decompiler: MIT License (developed as part of ILSpy)
- Ricciolo.StylesExplorer: MS-PL (part of ILSpy.BamlDecompiler.Plugin)
- Newtonsoft Json.NET: MIT License
Windows:
- Check out the repository using git.
- Execute
git submodule update --init --recursive
to get all required submodules. - Use ILSpy.sln to work.
Unix:
- Check out the repository using git.
- Execute
git submodule update --init --recursive
to get all required submodules. - Edit
\ICSharpCode.Decompiler\ICSharpCode.Decompiler.csproj
AddSdk="Microsoft.NET.Sdk"
to theProject
element. This is required due to a tooling issue on Unix. Please do not commit this when contributing a pull request! - Use ICSharpCode.Decompiler.Console.sln to work.
- Report bugs
- If you want to contribute a pull request, please add https://gist.github.com/siegfriedpammer/75700ea61609eb22714d21885e4eb084 to your
.git/hooks
to prevent checking in code with wrong indentation. We use tabs and not spaces. The build server runs the same script, so any pull requests using wrong indentation will fail.