Best tool to decompile a C# .Net 1.1 application [duplicate]
Asked Answered
F

2

5

Possible Duplicate:
A .net disassembler/decompiler
Is there a “free” alternative to .NET Reflector?

A good while ago we wrote C# .NET 1.1 application for a customer and during the process of office moves and redundancies, the source code was not checked into Source Safe.

The customer has now reported an issue and we don't want to rewrite the app from scratch.

I believe we should be able to get the source code by decompiling the executable. Can anyone recommend a good tool to use (preferably a free one).

As we wrote the application in the first place, I don't expect there to be any legal issues with decompiling but please correct me if I'm wrong.

Forgive answered 2/2, 2012 at 10:26 Comment(7)
Why does it have to be free? It seems that you are saving a lot of money by not having to rewrite the application. You can afford to loose 100 dollar on a tool.Goodhumored
Either way, take a look at RedGate Reflector. It isn't free (anymore), but I'm still using the free 6.0 edition. Not a day goes by that I don't use it.Goodhumored
I don't think decompiling .net 1 is any different from decompiling newer versions of .net. And there are plenty of questions about that. Personally I use ILSpy, but since RedGate's licensing mistake, there are plenty of decompilers.Kwiatkowski
You won't get "the source code". You may get some source code which will compile to equivalent code. That's not the same thing though - don't expect any comments, and if you've only got the release binary you may not have local variable names etc.Vivien
possible duplicate of 2) #4876847 3) #2647207 4) #2426473Kwiatkowski
@Goodhumored It has to be a free tool as the company is run by a tight fisted **** who doesn't see the value of software. It would take a month of paperwork before I get told it's not worth the money. Ho Hum.Forgive
@TeamWild: Time to look for an other employer. Your company is doomed to fail.Goodhumored
D
10

Usually I use dnSpy or ILSpy.

You can try one of the following .Net decompiler (listed in no particular order)

Here are also some IL decompiler for the real hardcore developer :-)

You may also find some useful information on these answers:

Dichlamydeous answered 2/2, 2012 at 10:52 Comment(1)
We used ilspy in the end. Thanks.Forgive
B
2

try dotpeek

Broadus answered 2/2, 2012 at 10:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.