gpt4 book ai didi

visual-studio-2005 - 任务失败,因为升级到 Windows 8.1 后未找到 "LC.exe"

转载 作者:行者123 更新时间:2023-12-02 17:41:46 25 4
gpt4 key购买 nike

将 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.

谁能帮帮我

最佳答案

将 Framework SDK 的路径添加到注册表中为我解决了这个问题。

相关 key 位于以下路径之一:

  • 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

关于visual-studio-2005 - 任务失败,因为升级到 Windows 8.1 后未找到 "LC.exe",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19761155/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com