ILT – Click-Once Deployment Error – Cannot Publish Because a Project Failed to Build

28-08-2012

Deploying using click-once setup is very easy. If you need a step by step guide to deploy a click-once, I’d recommend this article.

Even though it is easy to create a click-once deployment package, the visual studio can face problems if you have third party ad-ons like DevExpress.

If you get an error called “Cannot publish because a project failed to build” then don’t use the “Publish Now” button in the project properties window.

Instead click the “Publish <Project_name>from the Build Menu.

Menol
ILT

References:
http://www.devexpress.com/Support/Center/p/Q260132.aspx
http://stackoverflow.com/questions/7869129/clickonce-cannot-publish-because-a-project-failed-to-build

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: