BUG: Project events are not raised after you remove Visual Studio .NET 2002 or Visual Studio .NET 2003 (814705)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2003), Professional Edition
  • 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

SYMPTOMS

When you install Visual Studio .NET 2003 on a computer that already has Visual Studio .NET 2002 installed, and then you remove Visual Studio .NET 2003, the Project Events of Visual C# .NET 2002 and Visual J# .NET 2002 are no longer raised. The Project Events of Visual C# .NET 2003 and Visual J# .NET 2003 experience similar behavior when you remove Visual Studio .NET 2002.

CAUSE

This problem occurs because Visual Studio .NET 2002 and Visual Studio .NET 2003 reference the same registry keys for hooking to the Project Events in Visual C# .NET and Visual J# .NET applications. When you remove Visual Studio .NET 2003, the common registry entries that Visual Studio .NET 2002 also references are removed.

When you remove Visual Studio .NET 2003, the following registry entries that relate to Projects Events are removed:

Visual C# .NET
HKEY_CLASSES_ROOT\TypeLib\{97E74276-2FC6-11D3-9B5E-00C04F68380C}

Visual J# .NET
HKEY_CLASSES_ROOT\TypeLib\{E6FDF871-F3D1-11D4-8576-0002A516ECE8}

RESOLUTION

To resolve this problem, repair Visual Studio .NET. To do this, follow these steps:
  1. Click Start, point to Settings, and then click Control Panel.
  2. Double-click Add or Remove Programs, and then click Change or Remove programs.
  3. Click Visual Studio .NET, and then click Change/Remove.
  4. On the Visual Studio .NET Setup page, click 2. Visual Studio .NET.
  5. On the Maintenance page of the Setup procedure, click Repair/Reinstall.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

Steps to reproduce the behavior

  1. Install Microsoft Visual Studio .NET 2002.
  2. Install Microsoft Visual Studio .NET 2003.
  3. Remove Visual Studio .NET 2003.
  4. Click Start, and then click Run.
  5. In the Open text box, type regedit, and then click OK to start Registry Editor.
  6. Verify that the registry entries that are described in the "Cause" section are missing.

REFERENCES

For more information about Project Events, visit the following Microsoft Web site:

Modification Type:MinorLast Reviewed:1/26/2006
Keywords:kbvs2005doesnotapply kbvs2005swept kbtshoot kbvs2002sp1sweep kbpending kbEvent kbsetup kbbug KB814705 kbAudDeveloper