Geeks With Blogs
Ahmed Hussein Ahmed Hussein blog
Problem: You will get error below when you build your 2008 project.
 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.
  Resolution has two options:
  1. If you have al.exe file installed but in different place (search your PC for al.exe to find out)
 Edit the registry (withregedit command) or create register edit file in notepad
 File name: ---fix vs2008.reg----
 Windows Registry Editor Version 5.00
 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A]
"InstallationFolder"="D:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\"


2-   If you do not have al.exe all on your machine.

Install the Windows SDK for 2008/3.5

Then do the option one fix as the installation do not modify the registry entry.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.1\winSDK]

"InstallationFolder"="D:\\Program Files\\Microsoft SDKs\\Windows\\v6.1\\"

Just pay attention to al.exe path in the registry entry and error will be gone.
Trust me it will work :)
Posted on Saturday, April 25, 2009 4:23 PM Visual Studio tips&tricks | Back to top

Related Posts on Geeks With Blogs Matching Categories

Comments on this post: AL.exe was not found - Visual Studio 2008

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Ahmed Hussein | Powered by: