File | Open
With dotPeek, you can open any .NET assemblies, decompile and explore their contents. Assemblies can be decompiled and presented as C# code, or original source code can be fetched from local or remote location using PDB files and source servers. For more information, see Code Presentation Options.
Supported assembly file types include:
- Libraries (.dll)
- Executable files (.exe)
- Windows 8 metadata files (.winmd)
- Archives (.zip)
- NuGet packages (.nupkg)
- Microsoft Visual Studio Extensions packages (.vsix)
- On the main menu, choose File | Open and then select an assembly file.
- Press Ctrl+O and then select an assembly file.
- Click Open on the toolbar and then select an assembly file.
- Drag-and-drop an assembly file (or a selection of files) from Windows Explorer to the Assembly Explorer window.
- Select the desired assemblies in the Process Explorer and click Add Assembly to Assembly Explorer on the window's toolbar.
The opened assembly showing its name and version is added to the Assembly Explorer window. You can explore it by expanding the assembly node and its child nodes. Double-click on code symbols to decompile and view the corresponding code. For more information, see Working with Code.
Alternatively to opening an assembly file, you can explore a folder that contains assembly files.
As dotPeek does not make any modifications to the opened assemblies, you can close them by removing from the Assembly Explorer.
- Right-click on an assembly and choose Remove Item from List in the context menu.
- Select an assembly in the Assembly Explorer and press Delete.
- To close all assemblies, click Clear Assembly Explorer