ClickOnce SignTool Failed to Sign

I just got couple errors by using ClickOnce to publish my app:

Cannot publish because a project failed to build.
SignTool reported an error ‘Failed to sign bin

This most likely means that you have a “Sign the ClickOnce Manifests” checkbox checked in “Signing” Tab of your project properties and your certificate has expired.

To resolve this:

  • Right click on project in VS 2005 Solution Explorer and choose properties.
  • Go to “Signing” Tab,
  • Click on “Create Test Certificate”, make up a password and enter it.
  • Now you can go back to “Publish” Tab and publish your app.

signingscreenshot.JPG

2 Responses to ClickOnce SignTool Failed to Sign

  1. Many thanks, the most clear and precise answer i have come across, you should work for microsoft

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>