Opening Assemblies from NuGet Packages
dotPeek provides several ways to explore NuGet packages and assemblies they contain:
- You can open any NuGet package from disk using the command.
- You can load packages listed in a packages.config file in your Visual Studio project using the command.
- You can load NuGet packages from any package source as described below.
To load assemblies from a NuGet package
- Choose in the main menu or click on the toolbar of the Assembly Explorer Window. This will open the Open from NuGet dialog.
- Specify a package source. This can be a disk path or a URL where dotPeek will look for NuGet packages.
- Specify package filters. dotPeek will use this field to display only packages that contain the specified substring in their names.
- Use the check boxes to define whether you want to find latest/all and release/pre-release package versions.
- If the specified package source contains any packages matching the specified filter, you will see these packages in the list.
- Choose the desired package and click Open to load the package and all assemblies it contains to the Assembly Explorer Window. Optionally, select Load dependencies to load all dependent packages and assemblies.
Last modified: 19 August 2016