title: Build VS2010 solution file from msbuild command line
body: <p>I want to build my VS2010 .sln file (projects are .net 4.0) with msbuild from the command line.  I expected this to work...</p>
  
  <pre><code>&gt;C:/Windows/Microsoft.NET/Framework/v4.0.30319/msbuild.exe application.sln
  </code></pre>
  
  <p>However I get this message:  </p>
  
  <p><code> "Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion="3.5"."<br>
  </code></p>
  
  <p>The build continues but it can't find any of my references and fails.</p>
  
  <p>I'm probably missing something obvious... any help would be appreciated.</p>
  
  <p>Thanks,<br>
  -dk</p>