Note that there are some explanatory texts on larger screens.

plurals
  1. POMSBuild on CI Server can't find AL.exe
    primarykey
    data
    text
    <p>I'm having a problem on my TeamCity CI build server where during compilation I get the following error:</p> <blockquote> <p>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2342, 9): error MSB3086: Task could not find "AL.exe" using the SdkToolsPath "" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A". 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 </p> </blockquote> <p>I've found similar reports from a year ago when people were upgrading to .NET 3.5, for example <a href="https://stackoverflow.com/questions/1109955/task-failed-because-al-exe-was-not-found">this one</a>. In that case, installing the latest SDK solved the issue, however I have already installed the latest SDK (<a href="http://www.microsoft.com/downloads/details.aspx?familyid=6B6C21D2-2006-4AFA-9702-529FA782D63B&amp;displaylang=en" rel="nofollow noreferrer">Microsoft Windows SDK for Windows 7 and .NET Framework 4</a>) on my build server. The MSBuild tools are all there on the server, in a folder called</p> <blockquote> <p>C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319 </p> </blockquote> <p>and AL.exe exists in </p> <blockquote> <p>C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\NETFX 4.0 Tools </p> </blockquote> <p>However the registry key mentioned in the error message does not exist. So, it seems like there is something wrong with the installation/configuration of MSBuild. This error only happens for projects that have embedded resources, which require AL.exe.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload