Visual Studio 2010 has an interesting problem with ClickOnce – I couldn’t publish my application.
I got this error message when trying to publish:
Cannot publish because a project failed to build
I thought this had worked before. I found the answer here on StackOverflow.
Apparantly, the answer is that you need to use the right-click option, and not the project page option:
Well, that’s good to remember.