Click "File" and "New Project." Use the file dialog to select an EXE file on your system that you would like to decompile and click "OK." The decompiler will proceed and may take from a few seconds to a few minutes to complete, depending on the complexity of the EXE file and the speed of your computer.
NET assemblies to C# dotPeek is a free-of-charge standalone tool based on ReSharper's bundled decompiler. It can reliably decompile any .
You can now use Visual Studio to decompile managed code even if you don't have the symbols, allowing you to look at code, inspect variables and set breakpoints.
Reflector and its add-in FileDisassembler.
Reflector will allow to see the source code. FileDisassembler will allow you to convert it into a VS solution.
When Red Gate said there would no longer be a free version of .Net Reflector, I started using ILSpy and Telerik's JustDecompile. I have found ILSpy to decompile more accurately than JustDecompile (which is still in Beta). Red Gate has changed their decision and still have a free version of .Net Reflector, but now I like ILSpy.
From the ILSpy website (https://github.com/icsharpcode/ILSpy/):
ILSpy is the open-source .NET assembly browser and decompiler.
Update:
April 15, 2012, ILSpy 2.0 was released. New features compared with version 1.0:
Update:
Reflector is no longer free in general, but they do offer it for free to open source developers: http://reflectorblog.red-gate.com/2013/07/open-source/
But a few companies like DevExtras and JetBrains have created free alternatives:
DevExtras CodeReflect
JetBrains DotPeek
Reflector and the File Disassembler add-in from Denis Bauer. It actually produces source projects from assemblies, where Reflector on its own only displays the disassembled source.
ADDED: My latest favourite is JetBrains' dotPeek.
Telerik JustDecompile is free and has a feature to create projects from .NET assemblies.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With