Extract/Decompile source files from exe

user1269016 picture user1269016 · Oct 8, 2014 · Viewed 9k times · Source

There is a client specific solution that we cannot find the source code for, but we do have the .exe file.

Is it possible to use .Net Reflector to extract this into a buildable solution within Visual Studio?

At the moment I can retrieve some of the .cs files, but the forms within the application, as well as the folder structures etc. do not extract.

Is there some plugin I can use to accomplish this?

Thanks

Answer

Faris Zacina picture Faris Zacina · Oct 8, 2014

If you are looking for .Net Reflector plugins only, then you can try ReflectorFileDisassembler:

http://www.denisbauer.com/Home/ReflectorFileDisassembler

One more .Net Reflector plugin is FileGenerator:

http://filegenreflector.codeplex.com/

If you are open for alternatives another option would be JustDecompile by Telerik:

http://www.telerik.com/products/decompiler.aspx

Dotpeek is also an option, as mentioned by other answers.