本文介绍了使用MSBuild的VS2015 RC MSB3086,VS构建良好的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我安装了Windows 10 Tech Preview(10074)和Visual Studio 2015 RC,并试图构建我的解决方案(以前是使用Visual Studio 2013构建的)

I installed Windows 10 Tech Preview (10074) and Visual Studio 2015 RC, and am trying to build my solution (which was previously built with Visual Studio 2013)

如果我在VS中进行构建,那么一切都会成功构建,但是当我使用MSBuild时,在少数项目(并非全部)上都会出现此错误

If I build in VS, everything builds successfully, however when I use MSBuild I get this error on a handful of projects (not all of them)

C:\ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Microsoft.Common.targets(2428,5):错误MSB3086:任务找不到"LC.exe".使用SdkToolsPath"或注册表项"HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Microsoft SDKs \ Windows \ v8.0A \ WinSDK-NetFx40Tools-x86".
确保已设置SdkToolsPath,并且该工具位于SdkToolsPath下正确的处理器特定位置,并且已安装Microsoft Windows SDK.

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2428,5): error MSB3086: Task could not find "LC.exe" using the SdkToolsPath "" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.0A\WinSDK-NetFx40Tools-x86".
Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed.

在Windows 10上不存在,如何更新它以使用当前的Windows SDK?什么是8.0a?这是来自Visual Studio 2013吗?为什么我也必须安装它?非常困惑.

This doesn't exist on Windows 10, how do I update this to use the current Windows SDK? What is 8.0a? Is that coming from Visual Studio 2013? Why should I have to install that, too? Very confused.

谢谢!

推荐答案

我可以帮助您将此案例移至MSBuild 论坛提供了专门的支持.感谢您的理解.

I help you move this case to the MSBuild forum for dedicated support. Thanks for your understanding.

最好的问候,

Jack


这篇关于使用MSBuild的VS2015 RC MSB3086,VS构建良好的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 20:46