You receive an error message when you try to use the Gacutil tool after you install the .NET Framework SDK (870717)



The information in this article applies to:

  • Microsoft .NET Framework SDK 1.1
  • Microsoft .NET Framework SDK 1.0

SYMPTOMS

When you try to use the Gacutil tool from the Microsoft .NET Framework software development kit (SDK), you may receive an error message that is similar to the following:
--------------------------- gacutil.exe - Unable To Locate DLL ---------------------------
The dynamic link library MSVCR70.dll could not be found in the specified path C:\Program Files\Microsoft.NET\FrameworkSDK\Bin;.;C:\WINNT\system32;C:\WINNT\system;C:\WINNT;C:\WINNT\system32;
C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRA~1\CA\Common\SCANEN~1;C:\PROGRA~1\CA\eTrust\ANTIVI~1.
--------------------------- OK ---------------------------
Note This problem may also occur when you try to use other tools in the .NET Framework SDK.

CAUSE

If the environment variables are not set when you install the .NET Framework SDK, the installation path of the Msvcr70.dll file is not added to the Path system variable. This problem occurs with the tools that depend on the Msvcr70.dll file. The installation path of the Msvcr70.dll file is %WINDIR%\Microsoft.NET\Framework\version (where version is the version of the .NET Framework that is installed on the computer).

RESOLUTION

To resolve this problem, you must add the path of the Msvcr70.dll file to the value of the Path system variable. To do this, follow these steps:
  1. In Control Panel, click System.
  2. Click the Advance tab, and then click Environment Variables.
  3. Locate and then click Path under the Variable column in the System variables list.
  4. Click Edit under System variables.
  5. In the Variable Value box, add a semicolon and the path of the Msvcr70.dll file at the end of the text.
  6. Click OK three times.
When you run the tools from the .NET Framework SDK, the problem that is mentioned in the "Symptoms" section does not occur.

STATUS

This behavior is by design.

MORE INFORMATION

Because of their dependency on the Msvcr70.dll file, the following tools from the .NET Framework SDK may not work until the path of the Msvcr70.dll file is added to the Path system variable:
  • Nmake
  • CorDbg
  • PermView
  • PEVerify
  • Fuslogvw
  • Mscordmp
  • Ildasm
  • Sn
Note If you install Microsoft Visual Studio .NET, and then you try to use any one of these tools, this problem not occur.

Modification Type:MajorLast Reviewed:7/22/2004
Keywords:kbtshoot kbSDK kbListBox kbDLL kbprb KB870717 kbAudDeveloper