问题
I'm using Windows 7 SP1 and Visual studio Ultimate 2013. TFS server 2013 is installed in Windows Server 2008.
Below error occurred while trying to build one solution which supports multilingual resx files:
C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (3001): Task could not find "AL.exe" using the SdkToolsPath "" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.1A\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 have gone through similar questions, but those solutions didn't work. Few are given below:
Install Windows SDK
- Windows SDK is already installed
al.exe
is present inC:\Program Files\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools
al.exe
is present in\Windows\v7.0A\bin and v8.0A\bin\NETFX 4.0 Tools
Remove resx files and build
- Resx files are part of the project and I want them to be in my build.
Any idea to fix this issue?
回答1:
Thanks for your comments. I installed Windows SDK in server machine, where TFS is installed. It solved my problem.
来源:https://stackoverflow.com/questions/26905563/task-could-not-find-al-exe-tfs-2013