title: Post-Build task failing in VS 2013
body: <p>In Visual Studio 2012 I was running the following Post-Build task to compile and combine my LESS files:</p>
  
  <pre><code>$(MSBuildBinPath)\msbuild.exe "$(ProjectDir)MSBuildSettingsLess.xml"
  </code></pre>
  
  <p>With my MSBuildSettingsLess.xml looking like:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Project xmlns="http://schemas.microsoft.com/developer/MsBuild/2003"&gt;
      &lt;Target Name="CompileDotlessCss"&gt;
          &lt;ItemGroup&gt;
              &lt;Binaries Include="*.dll;*.exe"/&gt;
          &lt;/ItemGroup&gt;
  
          &lt;!-- Compile dotLess CSS into minified full CSS --&gt;
          &lt;Exec Command="$(SolutionDir)..\Tools\dotless.compiler.exe $(ProjectDir)..\GMHC\Content\less\responsive.less $(ProjectDir)..\GMHC\Content\bootstrap-responsive.less.css"/&gt;
          &lt;Exec Command="$(SolutionDir)..\Tools\dotless.compiler.exe $(ProjectDir)..\GMHC\Content\less\bootstrap.less $(ProjectDir)..\GMHC\Content\bootstrap.less.css"/&gt;
      &lt;/Target&gt;
  &lt;/Project&gt;
  </code></pre>
  
  <p>In Visual Studio 2013, that fails with the following error:</p>
  
  <p>The command "C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe "C:\Users\Administrator\Documents\Projects\MedicalMissions\GMHC\MSBuildSettingsLess.xml exited with code 9009.</p>
  
  <p>The output windows shows the following:</p>
  
  <p>1> 'C:\Program' is not recognized as an internal or external command,<br>
  1> operable program or batch file.<br>
  1> C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(4429,5): error MSB3073: The command "C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe "C:\Users\Administrator\Documents\Projects\MedicalMissions\GMHC\MSBuildSettingsLess.xml"</p>
  
  <p>Any idea why it is failing or how to get to the bottom of it?</p>