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 - 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

 

Written By Steve French

 

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

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

Leave a Reply

Your email address will not be published. Required fields are marked *






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