问题
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.
回答1:
I always used .Net Reflector, but now you need to find an old version of it when it was free...
Now you can try one of the following .Net decompiler (listed in no particular order)
- JustDecompile --- http://www.telerik.com/products/decompiler.aspx
- dotPeek --- http://www.jetbrains.com/decompiler
- .NET CodeReflect --- http://www.devextras.com/decompiler
- ILSpy --- http://ilspy.net
- DisSharp Decompiler --- http://netdecompiler.com/
- Assembly Analyzer --- http://asmanalyzer.codeplex.com/
Here are also some IL decompiler for the real hardcore developer :-)
- Dotnet IL Editor --- http://sourceforge.net/projects/dile/
- MSIL Disassembler --- http://msdn.microsoft.com/en-us/library/f7dy01k1%28v=vs.80%29.aspx
You may also find some useful information on these answers:
- Something Better than .NET Reflector?
- Open Source Alternatives to Reflector?
回答2:
try dotpeek
来源:https://stackoverflow.com/questions/9110697/best-tool-to-decompile-a-c-sharp-net-1-1-application