dotPeek 2017.2 Help

Exporting Assembly to Project

The ultimate step in exploring an assembly is exporting it to a Visual Studio project so that you can browse the source code, build and debug it.

Independently of the original programming language, which was used in the assembly, the exported project is created using C#.

To export an assembly to a Visual Studio project

  1. Select an assembly in the Assembly Explorer window and click Export to Project ThemedIcon ProjectGeneration Screen Gray on the toolbar, or choose Export to Project in the context menu.
  2. In the Export to Project dialog that appears, specify a destination folder where the project is exported. In this folder, the wizard will create a subfolder for your project.
    Export to Project dialog
  3. Change the project name if necessary.
  4. Tick Create *.sln file if you want a solution to be created for the project.
  5. Tick Create *.pdb file to create the debug information file for the project.
  6. Tick Add project to Assembly Explorer if you want to add the decompiled project to the Assembly Explorer window and study project structure, files, etc.
  7. Tick Open project in Visual Studio if you want to open the project right away.
  8. Click Export to finish. You can watch the progress of exporting the assembly in the Project/PDB Generation Status window.
Last modified: 14 December 2017

See Also