任务失败,因为“ LC.exe”升级到Windows 8.1后未找到 [英] Task failed because "LC.exe" was not found after upgrade to Windows 8.1

查看:222
本文介绍了任务失败,因为“ LC.exe”升级到Windows 8.1后未找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在将Windows 8升级到Windows 8.1之后,我在构建Visual Studio 2005时出错。



这是错误。

 任务失败,因为找不到 LC.exe,或者未安装.NET Framework SDK v2.0。该任务在注册表项HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework的SDKInstallRootv2.0值中指定的位置下方的 bin子目录中寻找 LC.exe。您可以通过执行以下任一操作来解决此问题:
1.)安装.NET Framework SDK v2.0。
2.)手动将上述注册表项设置为正确的位置。
3.)将正确的位置传递到任务的 ToolPath参数中。

有人可以帮助我吗。

解决方案

将Framework SDK的路径添加到注册表中可以为我解决。



相关的密钥位于以下路径之一下:




  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NET\Framework (32位)

  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft.NETFramework (64位)



我添加了一个名为 SDKInstallRootv2.0 的字符串值,并将其值设置为SDK路径,该值可能是以下之一: p>


  • C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0
  • >
  • C:\程序文件(x86)\Microsoft Visual Studio 8\SDK\v2.0


i have an error building my Visual Studio 2005 after i upgrade my windows 8 to windows 8.1

here's the error.

    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.

can anyone help me.

解决方案

Adding the path to the Framework SDK into the registry solved it for me.

The relevant key is located under one of these paths:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NET\Framework (32 Bit)
  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft.NETFramework (64 Bit)

I added a string value named SDKInstallRootv2.0 and set its value to the SDK path, which is probably one of the following:

  • C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0
  • C:\Program Files (x86)\Microsoft Visual Studio 8\SDK\v2.0

这篇关于任务失败,因为“ LC.exe”升级到Windows 8.1后未找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆