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:

Dec 24 2007

Merry Christmas every one

Category:Bil@l @ 19:46

I would like to wish people all over the world and especially all Christians a Merry Christmas!

Tonight is the Christmas night, hope this ceremony will bring peace and prosperity all over the world!

Kind Regards,

Bilal

Tags:

Dec 23 2007

AL.exe not found in VS 2008

Category: Visual StudioBil@l @ 11:05

I created a new class library in VS 2008 targetting .NET 3.5 and I got the following exception from VS:

Error    1    Task failed because "AL.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "AL.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A. You may be able to solve the problem by doing one of the following:  1) Install the Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5.  2) Install Visual Studio 2008.  3) Manually set the above registry key to the correct location.  4) Pass the correct location into the "ToolPath" parameter of the task.    LocalizationFiles

 

I tried to look for a solution online and could not find!

As far as I can see from the error message is that the Windows SDK (6.0 A) is missing from my PC. I didn't read in any place about that SDK while installing VS 2008.

My PC is Windows Vista.

If anyone has a solution to email to ! I will then re-post about the solution to share with all (comments disabled here sorry)

 

Thanks a lot,

Regards

Tags:

Dec 20 2007

ADO.NET Data Services

Category: ADO.NETBil@l @ 23:30

I would like to point you to a very important resource for a training on ADO.NET Data Services:

http://lostintangent.com/adonet-data-services-training-series/

 

I am sure you will enjoy them, just like I did :)

 

Regards

Tags:

Dec 20 2007

VS 2008 with .NET 2.0 and ASP.NET 2.0 Ajax Extensions 1.0

Category:Bil@l @ 23:29

Microsoft released recently templates for VS 2008 that you can use to create websites or applications targeting .NET 2.0 and using ASP.NET 2.0 Ajax Extensions 1.0.

Brad Adams has a post about that, check it out: http://blogs.msdn.com/brada/archive/2007/12/19/using-vs2008-to-target-net-framework-2-0-with-asp-net-ajax.aspx

 

Hope this helps,
Regards

Tags:

Dec 19 2007

Microsoft Day @ Metropolitan

Category:Bil@l @ 08:12

Yesterday we had a very long day at the Metropolitan hotel - Sin El Fil with Microsoft and the different partners in Lebanon.

In the morning we had a section for MS Academic partners, where most of the universities in Lebanon sent representatives, in the afternoon there was a section for the MS partners and ISVs, we had some sessions on VS 2008 and WCF - WF.

As always, the star was Samer Chidiac (DE-MS) where he presented several sessions all through the day!

In addition, Khaled Chbat also presented a very nice and smooth session on WCF and WF, his charisma is one of a type!!

 

In the evening, we had a community night for the LebDev.NET. This time we decided to have developers from the community to present and we had two nice and informative sessions on:

  1. Generics in .NET by Rabih Abla
  2. WPF by Hassan Ayoub

I will soon upload the session slides and demo codes to the www.lebdev.net, so keep an eye there!

 

Thank you Microsoft for such great days and above all, for your continuous and none-stop support for the www.lebdev.net user group!!

 

Regards

Tags:

Dec 19 2007

Adha Moubarak

Category:Bil@l @ 08:05

I would like to wish people all over the world and specifically all Muslims Adha Moubarak!

Today is the Adha Eid, hope this Eid will bring you all the peace and prosperity!

 

Kind Regards,

Bilal

Tags:

Dec 17 2007

Spell checker for HTML, ASP.NET, JScript, VB, C#, CSS and C++ for Visual Studio 2005 and 2008

Category:Bil@l @ 07:44

Check this valuable add-in for your VS 2005/20008

http://blogs.msdn.com/webdevtools/archive/2007/12/13/spell-checker-for-html-asp-net-jscript-vb-c-css-and-c-for-visual-studio-2005-and-2008.aspx

 

really cool!!!

Regards

Tags:

Dec 16 2007

ASP.NET Podcasts

Category:Bil@l @ 15:49

Always discovering nice stuff on the www.asp.net website!

For those of you who haven't yet checked out the ASP.NET Podcasts, have a look at: http://www.asp.net/learn/podcasts/

 

Hope this helps,
Regards

Tags:

Dec 14 2007

It is all about timing!!

Category:Bil@l @ 06:14

Last Saturday (December 8, 2007) I went to a governmental place to apply for a new Identity card because it was stolen from me in Spain, while I was attending the Techd Developers 2007.

That governmental place is located in Baabda. A city that contains so many governmental buildings and above all the presidential palace in Lebanon.

To reach that place, there is a tiny circlular way I had to take to reach that place.

Wednesday, December 12, 2007, 7:00 AM, a huge bomb took place with aroud 35 Kg of TNT and the result, so many people were killed and injured and above them a General in the Lebanese Army was killed!

That bomb could have easily happened on Devember 8 instead of December 12!! Those people who were killed and injured, I would have been simply one of them!!

Are those criminals noticing that in their way to kill those targetted people, they are killing and injuring so many innocent and civil people??

 

The question remains, till when Lebanon and the Lebanese people have to pay?? And the main theme is, it is all about timing ...

 

...

Tags: