Freigeben über


Gewusst wie: Aktualisieren von Visual Studio .NET 2003-Add-Ins auf Visual Studio 2005 mithilfe der COM-Registrierung (nicht verwaltet)

Aktualisiert: November 2007

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 Gewusst wie: Migrieren von Add-Ins von Visual Studio .NET 2003 in Visual Studio 2005.

Hinweis:

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 ExportSettings on the Tools menu. For more information, see Visual Studio-Einstellungen.

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
      [HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\AddIns\youraddinname.Connect]
      "FriendlyName"="A friendly name for your add-in"
      "Description"="A description of your add-in"
      "LoadBehavior"=dword:00000000
      "CommandLineSafe"=dword:00000000
      "CommandPreload"=dword:00000000
      
    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.

Siehe auch

Aufgaben

Gewusst wie: Aktualisieren von Visual Studio .NET 2003-Add-Ins auf Visual Studio 2005 mithilfe der XML-Registrierung (verwaltet)

Gewusst wie: Verwenden eines Add-In-Bereitstellungspakets aus Visual Studio .NET 2003 zum Registrieren eines Add-Ins bei Visual Studio 2005 (verwaltet und nicht verwaltet)

Gewusst wie: Migrieren von Add-Ins von Visual Studio .NET 2003 in Visual Studio 2005

Konzepte

Migrieren und Aktualisieren von Add-Ins von Visual Studio 2005 auf Visual Studio 2008

Add-In-Registrierung

Add-In-Sicherheit