Migrating and Upgrading Add-ins from Visual Studio 2005 to Visual Studio 2008

Add-ins created in prior versions of Visual Studio require changes before they will work correctly in Visual Studio 2008. You must either upgrade or migrate the add-ins. Upgrading add-ins refers to using a binary add-in file that was compiled in a prior version of Visual Studio in Visual Studio 2008. Migrating add-ins refers to updating and recompiling projects and code for use in Visual Studio 2008.

In the majority of cases, migrating add-ins is recommended to leverage the new Visual Studio functionality. Upgrading add-ins is an option for add-ins that do not use command bars and for users who do not need access to the new functionality. In Visual Studio .NET 2002 and Visual Studio .NET 2003, command bars were referenced in the Microsoft.Office component. This command-bar functionality is now available for Visual Studio in the Microsoft.VisualStudio.CommandBars assembly.

Visual Studio uses two methods for registering add-ins:

  • COM Registration — This method provides compatibility with add-ins created in versions of Visual Studio prior to Visual Studio 2005. The add-in is registered under the Visual Studio 2008 9.0 hive and as a COM class in the Windows registry. This is the method of registration used in Visual Studio versions prior to Visual Studio 2005.

  • XML Registration — This method uses an XML file to register add-ins with Visual Studio 2008.

How to: Update Visual Studio 2005 Add-ins To Visual Studio 2008

Provides the steps for using a Visual Studio 2005 add-in with Visual Studio 2008.

How to: Migrate Visual Studio .NET 2003 Add-ins to Visual Studio 2005

Explains the procedure to migrate a Visual Studio .NET 2003 add-in to an add-in that compiles in Visual Studio 2005. This is a recommended approach.

How to: Upgrade Visual Studio .NET 2003 Add-ins to Visual Studio 2005 by Using XML Registration (Managed)

Describes how to upgrade a managed add-In for use in Visual Studio 2005. This is a recommended approach.

How to: Use a Visual Studio .NET 2003 Add-in Deployment Package to Register an Add-in with Visual Studio 2005 (Managed and Unmanaged)

Illustrates the procedure to use Visual Studio .NET 2003 deployment projects to upgrade an add-in to work with Visual Studio 2005.

How to: Upgrade Visual Studio .NET 2003 Add-ins to Visual Studio 2005 by Using COM Registration (Unmanaged)

Provides the steps for using a Visual Studio .NET 2003 add-in with Visual Studio 2005.

Community Additions

Show: