This documentation is archived and is not being maintained.

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

Visual Studio 2005

This procedure explains how to use an unmanaged C++ Visual Studio .NET 2003 add-in in Visual Studio 2005. If command bars are used, you must update the code and recompile the add-in by using Visual Studio 2005. For more information, see How to: Migrate Visual Studio .NET 2003 Add-ins to Visual Studio 2005.


The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. These procedures were developed with the General Development Settings active. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To upgrade an unmanaged add-in for use in Visual Studio 2005

  1. Export the registry key found at HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\7.1\AddIns\<youraddinname>.Connect.

    1. If the registry key is unavailable, create a registry key by using Notepad.

    2. Start Notepad and insert the following text:

      Windows Registry Editor Version 5.00
      "FriendlyName"="A friendly name for your add-in"
      "Description"="A description of your add-in"
    3. Save the file as yourfilename.reg.

  2. Open the registry key and edit the path to state: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\AddIns\ <youraddinname>.Connect.

  3. Move youraddinname.dll and the registry key to the computer that contains Visual Studio 2005.

  4. Double click the registry key to add the entry to the registry.

  5. Register your add-in with regsvr32.exe.

See Also