I get this error when I try and publish the Click-Once project in .Net:
Cannot publish because a project failed to build.
SignTool reported an error ‘Failed to sign bin\Debug
Here is the Fix:
- Go to the properties of the project.
- Go to “Signing”
- “Create Test Certificate”
- Dont bother with a password
- Save
- Re-Publish
-Do this to all the projects in the solution.
This should fix the error and get you ClickOnce Publishing again.