AL.exe error when compiling in Visual Studio 2008

Published Tuesday, March 10, 2009 4:48 AM

when i first Installed Visual Studio 2008 Team system i was trying to compile the application i just migrated from visual studio 2005

and i got the error

 

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1950,9): error MSB3011: "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\AL.exe" was not found. Either 1) Install the .NET Framework SDK, which will install AL.exe. Or 2) Pass the correct location of AL.exe into the "ToolPath" parameter of the AL task.

Solution 1 :

the fix is simple you need to download the AL.exe as part of the SDK you can find it here 

Solution 2 :

or you can download a zip file that i have copied from another computer which has the SDK i have included the files here 41Kb

copy that to your SDK folder as you have installed visual studio it’s already created so copy the two files from the zip to this path

C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin

and then you have to update the registry of its location

so

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows]
"CurrentIA64Folder"="C:\\Program Files\\Microsoft SDKs\\Windows\\v5.0\\"
"CurrentIA64Version"="v5.0"
"CurrentInstallFolder"="C:\\Program Files\\\\Microsoft SDKs\\Windows\\v6.0A\\"

 

copy the previous code snippet to a new text file called “newfile.reg” double click it

you may have to restart visual studio for it to work

 

Comments

# DotNetKicks.com said on Wednesday, March 11, 2009 10:15 AM

You've been kicked (a good thing) - Trackback from DotNetKicks.com

Leave a Comment

(required) 
(required) 
(optional)
(required)