Visual Studio 2010 RTM is not publishing with ClickOnce

Posted by nite on Stack Overflow See other posts from Stack Overflow or by nite
Published on 2010-04-13T14:55:24Z Indexed on 2010/04/13 21:23 UTC
Read the original article Hit count: 487

Is anyone using ClickOnce with VS2010?

I’m getting the following on publish, when the solution builds fine ...

Building WindowsFormsApplication1...
Error: Cannot publish because a project failed to build.

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

My 'workaround' at the moment is to use msbuild.exe with a clickonce.proj, along the lines of the following http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/40bb7d32-a9ad-40d7-8113-cb3ed2747e69 (wired to an external tool+toolbar button as in hanselman's parallel build blog post)

© Stack Overflow or respective owner

Related posts about visual-studio-2010

Related posts about clickonce