I have a new Win 2012 64bit server on which I've installed Win 10 SDK and also copied from my development machine v8.0A and v8.1 to the dir:
C:\Program Files (x86)\Microsoft SDKs\Windows
I'm trying to use Jenkins/MSBuild to build a x64 .Net 4.0 project but I get the error:
C:\Windows\Microsoft.NET\Framework64\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
I've tried several approaches such as :
Running MSBuild fails to read SDKToolsPath
LC.exe file not found during build for .NET 4
Without success:
- I can't find WindowsSdkVer.exe anywhere.
- I've added the Env Variable SdkToolsPath but it's not respected.