Search Chirayu Software Solutions Blog

Wednesday, March 12, 2014

ClickOnce - Cannot publish because a project failed to build

To solve the ClickOnce publish issue there is a simple trick.

Start Visual Studio in safemode and then publish the software.
This way the error will not come.

Following is the command line option to start visual studio in safemode.

"C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /SafeMode

No comments: