title: "Publish Now" button doesn't work, but Build>Publish does
body: <p>In Visual Studio 2010, I have just one project that cannot be published using the "Publish Now" button. </p>
  
  <p><img src="https://i.stack.imgur.com/dGRaz.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/KTTys.png" alt="enter image description here"></p>
  
  <p>If I publish using the menu option instead, it works fine. I can then increment the version number, click "Publish Now" (or use "Publish Wizard..."), and get this error:</p>
  
  <pre><code>Cannot publish because a project failed to build.
  </code></pre>
  
  <p>However, no other error message is given. I managed to get screenshots of the output screen before it clears and flips to the Error List tab, but there is no mention there of any error. Clean &amp; Rebuild doesn't fix the problem.</p>
  
  <p><strong>What do these two options do differently?</strong> Why is the build failing one way but not the other?</p>