Reputation: 8876
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.
Upvotes: 20
Views: 79645
Reputation: 65496
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 if you don't want to use other tools.
Upvotes: 30
Reputation: 524
Jet Brains dotPeek .net decompiler is awesome. also it is free to use
Upvotes: 4
Reputation: 610
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.
Upvotes: 8
Reputation: 55720
RedGate has a good tool and it was free: .NET Reflector
Or you could use MS's ILDAsm (also free)
Upvotes: 5
Reputation: 25409
With Reflector check the file disassembler plugin too if you want to extract source.
Upvotes: 2