Dec 26 2007

AL.exe Not Found - SOLUTION

Category: Visual StudioBil@l @ 06:24

In a previous post of mine about AL.exe not found while compiling a project with VS 2008, I was not able to compile any Class library with VS 2008. I searched so many links online and couldn't find a single solution.

On one of the blog posts I was searching I found the email of Karin Meier (Windows SDK | Samples and Community PM), Program Manager in the Windows SDK. She was so helpful to me by giving a solution to me.

What need to be set is a global environment variable (ALTOOLPATH) that has the value for the AL.exe path on your machine. Why global? All sessions will be sharing it, simply set!

First of all you need to find the path of AL.exe on your machine, AL.exe should be there when you install Windows SDK.

Go to: Start -> Programs -> Microsoft Visual Studio 2008 -> Visual Studio Tools -> Visual Studio 2008 Command Prompt

Type the following command: Where al.exe

The above command shall give you the path to the AL.exe on your machine.

Now go to Control Panel -> System -> Advanced System Settings -> Environment Variables

Add a new variable with the following info:

Key Name: ALTOOLPATH

Key Value: {Path to AL.exe you got above EX: "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\"}

 

Now, open Visual Studio 2008 and compile! It should work perfectly!

Thank you Karin and all those who tried to solve this problem!

 

Hope this post helps you!

Regards

Tags:

Comments are closed