O'Reilly logo

Visual Studio 2013 and .NET 4.5 Expert Cookbook by Abhishek Sur

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating Visual Studio Package for tool windows and editor menus

Sometimes when the requirements are too high and not related to the editor itself, there is also an option to create a Visual Studio Package for the project. The Visual Studio Package project creates a basic VSPackage. The template has the written code ready to implement a MenuItem class or a tool window.

Note

As we already know that the editor is built using WPF, we also need to know the basics of WPF to implement the tool window inside the IDE.

Getting ready

Open Visual Studio and create a project from Visual Studio Package. Visual Studio Package is a complete installation of Visual Studio, which is signed with a valid key. We name the project VSPackageSample.

Once you select the project ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required