tags:

views:

278

answers:

3

I have a .exe app which I want to understand better - I can see it in reflector

Is there any way to get reflector to create a VS project with the code so I can view it properly in Visual Studio?

A: 

Yea there is, but it doesn't come cheap http://www.remotesoft.com/salamander/

I have used it to decompile assembly, but I've never used the feature to decompile it into a project so can't give you a review on that. The quality of the decompiler will match the one in reflector.

They also be some legal issues associated with decompiling exe into project - and source for recompilation, so use it with care.

Fadrian Sudaman
+1  A: 

Check out Jason Bock's FileGenerator, it might be what you are looking for.

Jason Haley
this looks awesome!
David
Wasn't aware of this. Thanks. +1
Fadrian Sudaman
+1  A: 

Nothing special is needed, it is built into Reflector, albeit not very discoverable. Right-click the assembly in the left pane and choose Export. You'll get a chance to change the output directory. Click OK and Reflector starts decompiling the code, creating a source file for each individual class. And creates a .csproj file which you can open in Visual Studio.

Hans Passant