Finishing the Package

The package class already has all the basic code we need; with the user control/tool window UI and code finished, we are essentially done. If we run our package at this stage, a sandbox copy of Visual Studio will start up with the package loaded. We just need to know how to trigger our tool window to display. The launching code is already there inside the ShowToolWindow routine.

Note

A tool window, in Visual Studio parlance, is nothing more than a simple window that can be docked or floated within the IDE.

The custom tool window project item has already provided us with a straightforward routine that will display a tool window. This routine is already wired up to a menu command, and it is already configured to display ...

Get Microsoft Visual Studio 2015 Unleashed, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.