- Using the File > Open command.
- Via drag-and-drop of a file (or a selection of files) to dotPeek window.
- By double-clicking a file in Windows Explorer . To enable (provided that Windows Explorer integration, choose Tools > Options, and select Integrate with Windows Explorer under Environment > General. is configured.)
In addition, assemblies from Global Assembly Cache can be opened via File > Open from GAC. One thing to note about the Open from GAC dialog is that you can batch-select assembly items there, and you can also filter out assemblies by entering their CamelHumps - the capitals that different parts of assembly names start with. For example, to find all assemblies with names containing Microsoft.VisualStudio.Modeling in the list of GAC assemblies, you can type mvsm:
Windows Explorer Integration
To enable Windows Explorer integration, choose Tools > Options, and select Integrate with Windows Explorer under Environment > General.
Viewing the Source Code
Source code that dotPeek decompiles is presented as C#. The source code view area has the look-and-feel of editor tabs in Visual Studio, with line numbers, options for word wrap and outlining, white space marks, and tabs to open different types in.