dnSpy: Open-Source .NET Assembly Editor, Decompiler, and Debugger
Edit and debug .NET assemblies, execute code in .NET applications, with features like assembly editing, debugging, symbol support, Base Class Library source code.
What is DnSpy?
dnSpy is an open-source .NET assembly editor, decompiler, and debugger that allows you to edit and debug managed assemblies in .NET applications. Some of the key features of dnSpy include:
- Assembly editing - dnSpy allows you to add, remove, and modify elements like types, methods, fields, properties, and events in a .NET assembly.
- Decompiling - It can decompile applications into C# and Visual Basic .NET code for understanding and auditing purposes.
- Debugging - You can use dnSpy to debug .NET applications, step through code, add breakpoints, evaluate expressions and more.
- Base Class Library source code - dnSpy ships with full source code for the .NET Base Class Libraries for added context.
- Symbol support - It can download PDB symbol files for stepped-through debugging sessions with extra metadata.
- Extensibility - dnSpy provides an API to create extensions and plugins for added functionality.
- Cross-platform - It runs on Windows, Linux, and macOS using .NET Core.
With its rich feature set for reverse engineering, debugging, and modifying .NET assemblies, dnSpy is popular among developers, security professionals, and researchers analyzing and testing .NET applications.