Welcome to MSDN Blogs Sign in | Join | Help

Troubleshooting sample building issues on X64, post 2

Having problems building some of the Windows Vista SDK samples on an X64 machine?  This is the second in a series of workarounds to get you building (check out the first post).  There are more X64 tricks and tips to come, so stay tuned.  Have you found workarounds to other issues? Share them here or email me.

 2. (Managed) Error:  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.

Problem:  This is a bug in the build environment.  (This issue has been fixed in the Windows SDK for Microsoft Windows Server code name “Longhorn” and .Net Framework 3.5.). Make sure you have updated SetEnv.cmd as described in Error 1 described in my first troubleshooting post.

Workaround:  In order to use AL.exe the ALToolPath parameter must be set and passed to msbuild. For the default install location, use the following command:
msbuild /p:ALToolPath="C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin

Karin Meier

Windows SDK Samples Program Manager

Published Saturday, April 21, 2007 1:22 AM by wsdkblog@microsoft.com
Filed under: ,

Comments

# Troubleshooting sample building issues on X64, post 3

This is part of a series on troubleshooting buiding Windows Vista SDK samples on X64 machines. Read the

Sunday, April 22, 2007 1:29 PM by Microsoft Windows SDK Blog

# Troubleshooting sample building issues on X64, post 4

If you've hit some errors when building Windows Vista SDK samples on an X64 machines, you might find

Monday, April 23, 2007 11:08 AM by Microsoft Windows SDK Blog

# Troubleshooting Windows SDK Sample Building on X64

Are you having problems building some of the Windows Vista SDK samples on an X64 machine? Me too. That’s

Thursday, June 14, 2007 1:08 AM by ascend slowly, breathing normally

# Troubleshooting Windows SDK Sample Building on X64

Are you having problems building some of the Windows Vista SDK samples on an X64 machine? Me too. That

Saturday, January 12, 2008 5:51 PM by News
Anonymous comments are disabled
 
Page view tracker