Search code examples
c#reflector

Using Reflector To Create VisualStudio Project


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?


Solution

  • 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.