Ignore the Windows SDK check while using MSBuild

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

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.
Who is Participating?
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.


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 :)

QlemoBatchelor, 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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.