title: MSBuild DeployOnBuild=true not publishing
body: <p>I have a Visual Studio 2010 MVC2 web application that I'm building via the command line using Hudson.  I'd like to make Hudson publish a web output, so I added the DeployOnBuild=true and CreatePackageOnPublish=True tags to my command line.</p>
  
  <p>My command is:</p>
  
  <pre><code>C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe 
     /target:Clean,Build 
     /property:Configuration=Debug;DeployOnBuild=True;CreatePackageOnPublish=True; 
     [my project name.csproj]
  </code></pre>
  
  <p>Running this command on my development machine (Windows 7) successfully publishes a web output to <code>\obj\Debug\Package\PackageTmp\</code>.  But running it on the Hudson server (WS 2008) compiles successfully, but it doesn't publish.  Same command, same version of MSBuild, same source code.</p>
  
  <p>I've tried the <code>/t:Publish</code> target, which gives me a Skipping Unpublishable Project response, as I've seen on several other people's posts.</p>
  
  <p>I've tried adding the <code>DeployOnBuild=True</code> and <code>CreatePackageOnPublish=True</code> tags to my project file as well, and no change.</p>
  
  <p>Any thoughts on why this isn't publishing?  Am I using these tags incorrectly?  I'm sure there's something here that I'm just not seeing.</p>