How to Fix “Cannot Publish Because a Project Failed to Build” error « « Digital Tool Factory blog

How to Fix “Cannot Publish Because a Project Failed to Build” error

VS2010_Beta1_ScreenShotThe Problem: You attempt to publish your C# ClickOnce application in Visual Studio 2010, but you get the “How to Fix “Cannot Publish Because a Project Failed to Build” error” error. There are no syntax errors.

The Cause: No idea

The Solution: Simply right click on the solution in the Solution Explorer, and click “Publish” – no idea why that works, but it does.

Creative Commons License photo credit: sarnil

 

This post originally appeared on the Stronico blog – with the absorption of Stronico into Digital Tool Factory this post has been moved to the Digital Tool Factory blog

About the author

Steve French Steve is the President and lead developer of Digital Tool Factory and currently provides all technical development for DTF. Digital Tool Factory has provided behind the scenes technical muscle to the Atlanta design community since 2002.Google+ Profile

 

Written By Steve French

 

6 Responses to “How to Fix “Cannot Publish Because a Project Failed to Build” error”

  1. Thanks for this tip! This nonsense error was annoying me a lot!

  2. Amila says:

    Thanks lot for the help.it worked for me :)

  3. Gustavo Piccin says:

    The Cause: No idea! Realy!

    But this work! Thanks!

  4. Philip says:

    Thanks for the help! I was attempting to publish from the Project Designer window, rather than the Wizard, as Microsoft’s solution notes.

  5. Marcelo Dias says:

    kkkkkkkkkkk, funcionou pra mim também!!!!

Leave a Reply





Copyright 2011 Digital Tool Factory. All Rights Reserved. Powered by raw technical talent. And in this case, WordPress.