Visual Studio 2013在TFS上的构建错误

3
我使用的是Framework 4.5和VS 2013以及TFS 2013。在构建项目时遇到以下错误:
``` "C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (3079): 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" ```
我尝试了一切方法,但无法解决这个错误。你能帮我吗?

2
可能是Task could not find "AL.exe" using the SdkToolsPath的重复问题。 - thumbmunkeys
你是否已经安装了Windows SDK 8.1? - Isantipov
@Isantipov 是的,我已经安装了SDK 8.1。 - c.mert
@thumbmunkeys 我试过了,但是没有成功。 - c.mert
@Isantipov 我检查过了,但是不起作用。 - c.mert
显示剩余2条评论
1个回答

1
下载并安装Windows 8.1 软件开发工具包 (SDK)。在安装程序中,确保选择.NET Framework 4.5.1 软件开发工具包
这将会把al.exe安装到C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools目录下。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接