Himadri
Himadri

Reputation: 8876

How to decompile a .dll file created in VS.net

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

Answers (6)

Preet Sangha
Preet Sangha

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

Spider
Spider

Reputation: 524

Jet Brains dotPeek .net decompiler is awesome. also it is free to use

Upvotes: 4

intersum
intersum

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

Mike Dinescu
Mike Dinescu

Reputation: 55720

RedGate has a good tool and it was free: .NET Reflector

Or you could use MS's ILDAsm (also free)

Upvotes: 5

Quibblesome
Quibblesome

Reputation: 25409

With Reflector check the file disassembler plugin too if you want to extract source.

Upvotes: 2

Frederik Gheysels
Frederik Gheysels

Reputation: 56934

Check out Reflector.

Upvotes: 9

Related Questions