使用vs2008编译一个项目时遇到错误, Task failed because "AL.exe" was not found
解决方法如下:
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\"}