Tool-ILSpy
[删除(380066935@qq.com或微信通知)]
ILSpy
icsharpcode/ILSpy: .NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform! (github.com)
ILSpy is the open-source .NET assembly browser and decompiler.
Decompiler Frontends
Aside from the WPF UI ILSpy (downloadable via Releases, see also plugins), the following other frontends are available:
- Visual Studio 2022 ships with decompilation support for F12 enabled by default (using our engine v7.1).
- In Visual Studio 2019, you have to manually enable F12 support. Go to Tools / Options / Text Editor / C# / Advanced and check "Enable navigation to decompiled source"
- C# for Visual Studio Code ships with decompilation support as well. To enable, activate the setting "Enable Decompilation Support".
- Our Visual Studio 2022 extension marketplace
- Our Visual Studio 2017/2019 extension marketplace
- Our Visual Studio Code Extension repository | marketplace
- Our Linux/Mac/Windows ILSpy UI based on Avalonia - check out https://github.com/icsharpcode/AvaloniaILSpy
- Our ICSharpCode.Decompiler NuGet for your own projects
- Our dotnet tool for Linux/Mac/Windows - check out ILSpyCmd in this repository
- Our Linux/Mac/Windows PowerShell cmdlets in this repository
Features
- Decompilation to C# (check out the language support status)
- Whole-project decompilation (csproj, not sln!)
- Search for types/methods/properties (learn about the options)
- Hyperlink-based type/method/property navigation
- Base/Derived types navigation, history
- Assembly metadata explorer (feature walkthrough)
- BAML to XAML decompiler
- ReadyToRun binary support for .NET Core (see the tutorial)
- Extensible via plugins
- Additional features in DEBUG builds (for the devs)