Using Reflector To Create VisualStudio Project

Jack Kada picture Jack Kada · Mar 13, 2010 · Viewed 13.5k times · Source

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?

Answer

Hans Passant picture Hans Passant · Mar 13, 2010

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.