Project address: https://github.com/0xd4d/dnSpy
Project author: 0xd4d
dnSpy is a reverse engineering tool for .NET programs. The project includes functional components such as decompiler, debugger and assembly editor, and can be easily extended by writing extension plug-ins by yourself. The project uses dnlib to read and write assemblies in order to handle programs with obfuscated code (such as malicious programs) without crashing.
Download address of published tools:
Latest releases: https://github.com/0xd4d/dnSpy/releases
Or build the project from source, refer to Wiki
Feature display
Edit any method, property or event in C# or Visual Basic
Edit any type (class), method, property, event, field
Add, remove, rename any type (class), method, property, event, field
Edit, add, remove .NET resources and save them to disk
The IL editor allows editing method bodies at the IL level: IL instructions, locals, exception handlers
Debug any .NET assembly, no source code required
Raw contents of locals (eg. decrypted byte arrays) can be saved to disk
Optimizations for smaller screens
Multiple tabs and tab groups
Search assemblies
Assembly analyzer
Highlighted references, keywords, use Tab, Shift+Tab, Ctrl+Shift+Up, Ctrl+Shift+Down to select next or previous reference or Alt+Up/Down for next definition
Structure visualizer adds colorized vertical guide lines between braces; loops, try/catch and conditional blocks are shown in different colors
Structure visualizer is very useful when you're in a method like this:
Go to: Entry Point, Module Initializer, MD Token, MD Table Row
Syntax highlighted tooltips with XML doc comments when hovering over a type (class), method, property, event, field
Background images can be shown in the text editor
Same image with left margin and top margin set to 75%
Export to project decompiles all selected assemblies and creates a Visual Studio solution
Command line decompiler, supports Windows, Linux, Mac
Scripting with C#
REPL, control the debugger and other extensions with C#
Hex editor
Metadata editor, click on a token or press Ctrl+Shift+D
Translation related to the project
If you would like help translating dnSPY into other languages, please click here .
Wiki
Please refer to Wiki for specific commands and compilation related content .