FIX: Visual Studio Analyzer does not work if both the .NET version and the 6.0 version are installed (316052)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2002), Professional Edition

This article was previously published under Q316052

SYMPTOMS

When you try to install the version of Visual Studio Analyzer that is included with Visual Studio .NET, you receive the following message:
The version of Visual Studio Analyzer shipping with Visual Studio .Net cannot be installed on a computer with Visual Studio Analyzer 6.0 installed. Please uninstall Visual Studio Analyzer 6.0 before installing Visual Studio Analyzer from Visual Studio .Net

CAUSE

The version of Visual Studio Analyzer that is included in Visual Studio .NET cannot be installed on a computer that has Visual Studio Analyzer 6.0 installed. If you proceed with the installation, neither version of Analyzer will work.

RESOLUTION

Remove Visual Studio Analyzer 6.0 before you install the version of Visual Studio Analyzer that is included in Visual Studio .NET.

If you have already installed both versions on a computer, you will not be able to use either version of Visual Studio Analyzer to collect events. To resolve this problem, you must first remove one version of the product and repair the version that remains. (Note that the .NET version of Visual Studio Analyzer retains the functionality of Visual Studio 6.0 Analyzer but can also test Visual Studio .NET applications.)
  • To repair Visual Studio Analyzer .NET version after you remove the Visual Studio 6.0 version:
    1. Restart your computer.
    2. Run RegisterAnalyzerv7.bat from Visual Studio .NET installation directory\Common7\Tools\Analyzer.
  • To remove the Visual Studio .NET version of Visual Studio Analyzer and repair the Visual Studio 6.0 version:
    1. Copy the following files from Visual Studio .NET installation directory\Common7\Tools\Analyzer to Visual Studio 6.0 installation directory\Common\Tools\VS-ENT98\Vanalyzr:

      RegisterAnalyzerv6.bat
      VSAReg.exe

    2. Remove Visual Studio Analyzer .NET version.
    3. Run RegisterAnalyzerv6.bat from Visual Studio 6.0 installation directory\Common\Tools\VS-ENT98\Vanalyzr.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in Visual Studio .NET 2003.

Modification Type:MinorLast Reviewed:5/16/2006
Keywords:kbvs2005doesnotapply kbvs2005swept kbtshoot kberrmsg kbvs2002sp1sweep kbfix kbbug KB316052 kbAudDeveloper