title: MSbuild Publish to a specific directory using batch file
body: <p>Following is the batch file for doing a publish to a publish directory</p>
  
  <pre><code>@echo off
  start
      /b
      C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe
      /target:publish
      /p:SolutionDir="C:\cc\ttr\code\Com.IT.sln"
      /p:PublishDir="C:\cc\ttr\code\deploy\"
      /p:Configuration=Debug            
  </code></pre>
  
  <p><em>(wrapped for easier reading)</em></p>
  
  <p>It is not publishing it. Any idea why?</p>