Microsoft KB Archive/814706

= BUG: Icons for Visual Studio .NET 2002 are replaced with Windows icons when you remove Visual Studio .NET 2003 =

Article ID: 814706

Article Last Modified on 11/14/2007

-

APPLIES TO


 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Academic Edition

-





SYMPTOMS
If you remove Visual Studio .NET 2003 on a computer that is running Visual Studio .NET 2002, the icons for the Visual Studio project files are replaced by the default icons for Microsoft Windows.

Note This problem occurs even though the installation files for Visual Studio .NET 2002 are not corrupted or removed.



CAUSE
If you are running Visual Studio .NET 2002 on your computer, the Visual Studio .NET icons are read from C:\Program Files\Microsoft Visual Studio .NET\Vc7\vcpackages\csproj.dll. When you install Visual Studio .NET 2003, the registry entry is updated to C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\vcpackages\csproj.dll. The icons are read from the new location for the known file types. If you remove Visual Studio .NET 2003, the registry entry and corresponding file extensions are also removed. The default icons for Windows are substituted for the Visual Studio .NET icons.



WORKAROUND
To work around this problem, repair Visual Studio .NET. To do so, follow these steps:
 * 1) Click Start, point to Settings, and then click Control Panel.
 * 2) In Control Panel, double-click Add/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) Select 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.

