title: External VS2013 build error "error MSB4019: The imported project <path> was not found"
body: <p>I am building a project through the command line and not inside Visual Studio 2013. Note, I had upgraded my project from Visual Studio 2012 to 2013. The project builds fine inside the IDE. Also, I completely uninstalled VS2012 first, rebooted, and installed VS2013. The only version of Visual Studio that I have is 2013 Ultimate.</p>
  
  <pre><code>ValidateProjects:
      39&gt;path_to_project.csproj(245,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the &lt;Import&gt; declaration is correct, and that the file exists on disk.
      39&gt;Done Building Project "path_to_project.csproj" (Clean target(s)) -- FAILED.
  </code></pre>
  
  <p>Here are the two lines in question:</p>
  
  <pre><code>&lt;Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" /&gt;
  &lt;Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v12.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" /&gt;
  </code></pre>
  
  <p>The original second line was v10.0, but I manually changed that to v12.0.</p>
  
  <p>$(VSToolsPath) elongates from what I see to the v11.0 (VS2012) folder, which obviously is not there anymore. The path should have been to v12.0.</p>
  
  <pre><code>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\WebApplications\
  </code></pre>
  
  <p>I tried specifying VSToolsPath in my system environment variables table, but the external build utility still uses v11.0. I tried searching through the registry and that came up with nothing.</p>
  
  <p>Sadly, I do not see any easy way to get the exact command line used. I use a build tool.</p>
  
  <p>Thoughts?</p>