Microsoft KB Archive/814705

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

Article ID: 814705

Article Last Modified on 5/16/2007

-

APPLIES TO


 * Microsoft Visual Studio .NET 2003 Professional Edition
 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * 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

Visual J# .NET



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 &quot;Applies to&quot; section.



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 &quot;Cause&quot; section are missing.

