I need to decompile a dll file created in VS.net.
Is there any tool available to do this?
Or Can I have some code to do this?
Please help.
To do this, go to the Modules window and from the context menu of a . NET assembly, and then select the Decompile source code command. Visual Studio generates a symbol file for the assembly and then embeds the source into the symbol file. In a later step, you can extract the embedded source code.
Decompiling DLL Files. Download and install a decompiler. A "decompiler" is a program that allows you to see the source code that was used to construct a file or program, in this case a DLL file. In order to see the code that makes a DLL file work, you will need to use a decompiler to revert it back into readable code.
net reflector doesn't allow to add your dll to decompile, I recommend you to write a new post to Relector . NET forum:http://forums.reflector.net/ for a better and quicker response. In addition, we can use other tools to decompile your Dll: 1.
Edit 2: I now use DotPeek from Jetbrains. Its ability to decompile as I need to while debugging is amazing.
Edit: Now that Reflector is no longer a free tool, a newer tool ILSpy is under development.
ILDASM is your friend. But Reflector is a soulmate
Check out Reflector.
I tried .NET Reflector and wasn't fully happy of the quality of decompiled code. Then I came across dotPeek and I must say it's way better then Reflector. I had to make only one small adjustement and decompiled code works as it should after compiling it in Visual Studio. I really recommend this decompiler especially it's completely free of charge.
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