Ignore the Windows SDK check while using MSBuild

Hi,
I get the following error while executing MS Build on Windows 2008 server with .NET 3.5 framework. I'm building a  Webservice and a Windows Client.
 
Could not locate the expected version of the Microsoft Windows SDK. Looked fo
 r a location specified in the "InstallationFolder" value of the registry key
 "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A". If your
  build process does not need the SDK then this can be ignored. Otherwise you
 can solve the problem by doing one of the following:  1) Install the Microsof
 t Windows SDK for Windows Server 2008 and .NET Framework 3.5.  2) Install Vis
 ual Studio 2008.  3) Manually set the above registry key to the correct locat
 ion.

I know the build project does not need the SDK(since I;m not building a C++ project). How do I ignore the SDK verification from MSBuild.
RaghavanMVAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Brad HoweDevOps ManagerCommented:
Hi There,

This is not your project or references calling the SDK so there is no setting that you can turn off. This is built into the MSBUILD engine. I would suggest installing the SDK if you spare the space and want to remove the warning messages.

http://www.microsoft.com/downloads/details.aspx?FamilyID=e6e1c3df-a74f-4207-8586-711ebe331cdc&DisplayLang=en

OR give this a shot.

1. copy & paste following to NotePad:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A]
"InstallationFolder"="C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\"

or where C:\\your installation and SDK is located.

Then rename the file extention to abc.reg.

2. Double-click the file you just created then choose "Yes".

3. You're done. :)

We ended up installing hte SDK :)

Cheers,
Hades666
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.