Just downloaded Team City to give it a spin on a .NET project I'm working on, and I'm running into this issue. We have a Windows 2003 R2 Server (Service Pack 2), and I've made sure .NET framework 3.5 is installed. Our project has just been upgraded to 3.5. We have a solution file created from Visual Studio 2008, and when I try to build I get this:
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(2083, 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.
I tried manually adding the mentioned registry key, as it does not exist, but this only resulted in al.exe giving a rather unhelpful "128" error code.