2

Windows 8 を Windows 8.1 にアップグレードした後、Visual Studio 2005 のビルド中にエラーが発生しました

これがエラーです。

    Task failed because "LC.exe" was not found, or the .NET Framework SDK v2.0 is not installed.  The task is looking for "LC.exe" in the "bin" subdirectory beneath the location specified in the SDKInstallRootv2.0 value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework.  You may be able to solve the problem by doing one of the following:  
    1.) Install the .NET Framework SDK v2.0.  
    2.) Manually set the above registry key to the correct location.  
    3.) Pass the correct location into the "ToolPath" parameter of the task.

誰でも私を助けることができます。

4

2 に答える 2

5

Framework SDK へのパスをレジストリに追加することで解決しました。

関連するキーは、次のいずれかのパスの下にあります。

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NET\Framework (32 ビット)
  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft.NETFramework (64 ビット)

という名前の文字列値を追加し、SDKInstallRootv2.0その値を SDK パスに設定しました。これはおそらく次のいずれかです。

  • C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0
  • C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0
于 2014-09-29T06:21:07.790 に答える