使用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\"}

相关文章:

  • 2021-12-10
  • 2021-08-31
  • 2022-12-23
  • 2021-04-05
  • 2022-12-23
  • 2021-08-12
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-31
  • 2022-12-23
相关资源
相似解决方案