We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Managed Package Framework Classes

The managed package framework (MPF) classes can be used to create VSPackages using managed code. They provide default implementations for many VSPackage interfaces. By hiding implementation details and complexities, MPF enables you to create Visual Studio integration products with a minimum amount of code.

Caution note Caution

Most of the assemblies that contain Managed Package Framework classes are shipped with the Visual Studio SDK. You can download the source code for the Managed Packaged Framework for Projects at Managed Package Framework for Projects.

The following table lists the MPF namespaces provided by the Visual Studio SDK.

Name space



Contains useful classes for handling COM errors, Visual Studio constants, and Win32 windows.


Includes managed code wrappers for Visual Studio projects, editors, and MSBuild.


Includes MPF base classes from which you can derive an implementation of many common Visual Studio objects. 


Contains Visual Studio designer extensions.


Contains Visual Studio serialization designer extensions.


Contains Visual Studio CodeDom designer extensions.


Supports project subtypes (also known as "flavors").