Add-ins that you create by using Visual Studio .NET 2002 do not load when you start Visual Studio .NET 2003 (823236)
The information in this article applies to:
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2002), Academic Edition
IMPORTANT: This article contains information about modifying the registry.
Before you modify the registry, make sure to back it up and make sure that you
understand how to restore the registry if a problem occurs. For information
about how to back up, restore, and edit the registry, click the following
article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows Registry SYMPTOMSYou create an add-in project in Visual Studio .NET 2002.
When you install the add-in project on a computer that has Visual Studio .NET 2003 installed,
the add-in is not loaded in the Visual Studio .NET 2003 IDE.CAUSEThis problem occurs because the registry entries for the add-in are not created in the correct registry key. When you install the add-in
project on a computer that has Visual Studio .NET 2003 installed, the registry entries are
created in the following registry key: HKEY_CURRENT_USER\Microsoft\VisualStudio\7.0\Addins However, these registry entries should be added to the \7.1 registry key of
Visual Studio .NET. Therefore, the add-in is not loaded when you start Visual Studio .NET 2003. Note When you select the My Add-in should be available
to all users of the computer it was installed on, not just the person who
installs it. option on the Choose Add-in Options page of the
Add-in Wizard, the registry entries are created in the HKEY_LOCAL_MACHINE\Microsoft\VisualStudio\7.0\Addins registry key. WORKAROUNDWARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk. To work around this problem, create a registry key to load the
add-in when you start Visual Studio .NET 2003. To do this, follow these steps:
- Follow steps 1 through 4 in the "More Information" section of this article to create a new add-in.
- Click Start, and then click
Run.
- In the Open text box, type
regedit, and then press ENTER.
- In Registry Editor, locate the following registry key:
HKEY_CURRENT_USER\Software\Microsoft \VisualStudio\7.0\AddIns - Expand AddIns.
- Right-click InsertText.Connect, and then
click Export.
- In the Export Registry File dialog box,
type regfile in the File name text box.
- Click Desktop in the Save in list, and then click
Save.
- In a text editor such as Notepad, open Regfile.reg (located on the desktop).
- In Regfile.reg, replace each occurrence of 7.0 with
7.1 in the registry key. Save the changes,
and then close the file.
- Drag Regfile.reg to
Registry Editor.
- When you receive the following
message, click OK: Information in <%regfile.reg%> has been successfully
entered into the registry on My Computer.
- Follow step 5
in the "More Information" section to install the add-in.
- Start Visual Studio .NET 2003.
Notice that the InsertText
command appears on the
Tools menu.
STATUS This
behavior is by design.REFERENCES For additional information, click the following article number
to view the article in the Microsoft Knowledge Base: 317345
HOW TO: Create and Load Add-ins in the Visual Studio .NET IDE by Using Visual Basic .NET
Modification Type: | Minor | Last Reviewed: | 2/24/2006 |
---|
Keywords: | kbvs2005doesnotapply kbvs2005swept kbRegistry kbide kbAddIn kbprb KB823236 kbAudDeveloper |
---|
|