We are going to discuss the Decompiling tools, features, pros and cons, and how to use the tool to decompile the assembly and assembly browser. There is a lot of open source and paid tools in the market.
List of available tools as in the following:
- ILSpy
- dotPeek
- Telerik JustDecompiler
- .NET Reflector
We can discuss one of the interesting tools, ILSpy is an open-source tool for .NET assembly browser and decompiler. It started the development plan after Red Gate announced that the free version of .NET Reflector tool support ends in 2011. It required a .NET Framework 4.0 to run the decompiler tool for the .NET application.
List of features as in the following:
- Assembly browsing
- IL Disassembly
- Support C# 5.0 async
- Decompilation to C#
- Support lambdas and yield return
- Sows XML documentation
- Decompilation to VB
- Saving of resources
- Save decompiled assembly as .cs proj
- Search for types/methods/properties (substring)
- Hyperlink-based type/method/property navigation
- Base/Derived types of navigation
- Navigation history
- BAML to XAML decompiler
- Save Assembly as C# project
- Find usages of field/method
- Extensible via plugins (MEF)
- Assembly Lists
We can easily download the ILSpy Tool from the
ILSpy Website and unzip it,
Go to the ILSpy Unzipped folder location and double click the ILSpy application icon,
Go to the File menu and click the open menu and then browse the .NET assemblies “log4net”.
Pros
- Open source and free tool.
- Easy to use interface and fast.
- It will be supporting all features and working well.
Cons
- The UI doesn’t seem to be good.
- No proper documentation.
We can discuss remaining .NET decompiler tools, features, pros & cons, and so on in the next article.
Conclusion
This article helps you to understand the ILSpy Decompiler tool with features, pros & cons, and tool installation. Thank you for reading my articles. Kindly share your comments or suggestions.