March 2009 - Posts

AL.exe error when compiling in Visual Studio 2008
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

visual studio 2008 Team System setup a problem encountered while loading the setup components canceling setup
Tuesday, March 10, 2009 4:27 AM

i wanted to install an additional feature of Visual studio 2008 but when i started the setup process or tried to uninstall the application i got this error

“Setup a problem encountered while loading the setup components. Canceling setup.”

the Fix

i went to check for fixes under that application uninstalled it and the the setup worked fine

by amir.magdy | with no comments
Filed under: , ,