【发布时间】:2009-09-29 12:09:32
【问题描述】:
这是一个让我摸不着头脑的有趣问题。我有一个正在 TeamCity 中构建的项目。在开发人员将资源文件添加到其中一个项目中,并为另一个语言环境添加一些字符串之前,它一直运行良好。他在默认文件夹旁边的 Properties 文件夹下添加了 .resx 文件。这是构建日志中的错误消息:
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(2105, 9):
error MSB3091: Task failed because "AL.exe" was not found, or the correct
Microsoft Windows SDK is not installed. The task is looking for "AL.exe" in the "bin"
subdirectory beneath the location specified in the InstallationFolder value
of the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A.
You may be able to solve the problem by doing one of the following:
1) Install the Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5.
2) Install Visual Studio 2008.
3) Manually set the above registry key to the correct location.
4) Pass the correct location into the "ToolPath" parameter of the task.
这里有很多事情我无法解决。 - 为什么它可以找到默认 .resx 文件的 AL.exe 而不是这个新文件? - 当构建在 Server 2003 上运行时,为什么要查找看起来特定于 Vista 的注册表项?
有什么想法吗?
【问题讨论】:
标签: c# visual-studio-2008 msbuild teamcity