title: Visual Studio 2010 RTM is not publishing with ClickOnce
body: <p>Is anyone using ClickOnce with VS2010? </p>
  
  <p>I’m getting the following on publish, when the solution builds fine ...  </p>
  
  <pre><code>Building WindowsFormsApplication1...
  Error: Cannot publish because a project failed to build.
  </code></pre>
  
  <p>Have tried everything, new clean project (both windforms and WPF), new temporary key, disabled pre-requisites and played with every publish setting. 
  I was hoping it’d be fixed in final, the same thing happened in RC</p>
  
  <p>My 'workaround' at the moment is to use msbuild.exe with a clickonce.proj, along the lines of the following
  <a href="http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/40bb7d32-a9ad-40d7-8113-cb3ed2747e69" rel="nofollow noreferrer">http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/40bb7d32-a9ad-40d7-8113-cb3ed2747e69</a> 
  (wired to an external tool+toolbar button as in hanselman's parallel build blog post) </p>