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
Export the registry key found at HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\7.1\AddIns\<youraddinname>.Connect.
If the registry key is unavailable, create a registry key by using Notepad.
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
Save the file as yourfilename.reg.
Open the registry key and edit the path to state: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\AddIns\ <youraddinname>.Connect.
Move youraddinname.dll and the registry key to the computer that contains Visual Studio 2005.
Double click the registry key to add the entry to the registry.
Register your add-in with regsvr32.exe.
Siehe auch
Aufgaben
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