title: How do I run msbuild from the command line using Windows SDK 7.1?
body: <p>I'm setting up .NET 4.0 support on our CI server. I've installed .NET 4.0, and the .NET tools from the Windows 7.1 SDK.</p>
  
  <p>On .NET 2.0 and 3.5, that just worked. With .NET 4, when I run the "Windows SDK 7.1 Command Prompt" from the Start menu, it complains about </p>
  
  <pre><code>The x86 compilers are not currently installed. x86-x86
  Please go to Add/Remove Programs to update your installation.
  .
  Setting SDK environment relative to C:\Program Files\Microsoft
  SDKs\Windows\v7.1
  \.
  Targeting Windows Server 2008 x86 Debug
  </code></pre>
  
  <p>Then when I try to run msbuild, I get:</p>
  
  <pre><code>C:\Program Files\Microsoft SDKs\Windows\v7.1&gt;msbuild
  'msbuild' is not recognized as an internal or external command,
  operable program or batch file.
  
  C:\Program Files\Microsoft SDKs\Windows\v7.1&gt;
  </code></pre>
  
  <p>I can't quite believe that installing the runtime and SDK will leave you with a system that can't run msbuild... have I missed some obvious step or obscure Windows Update, or is time to give up and start hacking the system path?</p>