How to: Update the Registration for the Host Application
If you change any of the entries or subkeys under the host configuration key after you register the application with Visual Studio Tools for Applications, you must update the registration by regenerating the host context registry hive. Otherwise, Visual Studio Tools for Applications will not be aware of the changes that you made to the host configuration key.
For more information about the host configuration key, see Registering the Host Application. For more information about host configuration subkeys and entries, see Host Configuration Registry Key Settings.
To update the registration
Click Start, and then click Run.
Type regedit, and then press ENTER.
In the Registry Editor, navigate to the host context registry hive for your application:
On 32-bit platforms:
On 64-bit platforms:
The name of the hostID key is the same host ID string that you used to identify your host application when you first registered it. For more information, see How to: Register the Host Application.
Delete the 9.0 key under the hostID key.
If there are other keys under the hostID key, make sure that you delete only the 9.0 key. Other keys are used by other versions of Visual Studio Tools for Applications.
Open the Visual Studio 2008 Command Prompt window and change to the following directory: %ProgramFiles%\Microsoft Visual Studio 9\Common7\IDE\.
Type the following command, and then press ENTER.
This command recreates the host context hive that you deleted earlier (the 9.0 key). The new host context hive includes the changes you made to the host configuration key.
If you modified the VSCSProjectTemplatesLocation, VSCSProjectTemplatesLocation, or VSItemTemplatesLocation entries, you must also run the following command to unpack the templates to the appropriate cache directory for Visual Studio 2008.