There was an error signing

I support a large WPF application that is inherited from another developer. I use ClickOnce to publish it. Suddenly, today I received an error message: Error 2 Cannot publish because the project could not be created. eleven
Error 3 An error occurred while signing: Failed to signup bin \ Debug \ app.publish \ setup.exe. SignTool error: no certificates were found that met all the specified criteria.

I have a file called SomeName.snk, which is specified in the project settings, Signing tab. I have no idea what happened today that caused the problem. I am using VS 2012.

+54
wpf visual-studio-2012 clickonce
Dec 28
source share
6 answers

I will check if the certificate has expired. Most (all?) Certificates have a validity period.

+48
Dec 28
source share

Go to the main project of the property > Signing > If the validity period has expired> click Create test certificate , the password is optional, and you are done.

+152
Oct 21 '13 at 9:27
source share

Have you checked the certificate?

View or manage your certificates

You can use MMC Snap In or Internet Explorer.

+3
Dec 28 '12 at 16:28
source share

I had this problem when installing visual c ++ on top of the .net VS2017 installation. I solved this by unchecking Properties β†’ Security β†’ Enable ClickOnce Security Settings.

Then he created the app.manifest file. After that, the error went away. Interestingly, I checked this again to see what happens and the problem did not return.

+2
Apr 19 '18 at 14:01
source share

Today I ran into a problem. In my particular case, it was caused by this Microsoft Windows Update .

I uninstalled this update and the publication started working as always. This is temporary work and means that you should probably recover your keys / certificates.

+1
Jan 29 '13 at 16:25
source share

This mainly happens if your certificate for this particular project has expired or problems have occurred.

Right-click Project β†’ Properties β†’ Tab - Signing tab β†’ More Details button β†’ Shows the details of your certificate. Check if your certificate has expired

Ways to fix

1. Uncheck "Sign ClickOnce manifests" and try

2. Extend the certificate by creating a test certificate (if your certificate has expired)

  • Click the " Create Test Certificate ... "
  • Enter your credentials (optional)
  • Save

3. Reconfirm the existing certificate (if your certificate has not expired)

  • Click the "Select from file" button and use an existing key file (for example, .pfx).

OR

  • Click the "Select from store" button and select one of the available options.

Tip: if you are still having problems creating your project. Just restart Visual Studio.

Hope this helps.

0
Jan 24 '19 at 5:34
source share



All Articles