Wednesday 18 May 2016

[ClickOnce] Error while signing "No certificates were found that met all the given criteria"

Problem:
Error message "SignTool Error: No certificates were found that met all the given criteria" is encountered when compiling ClickOnce project in Visual Studio

Possible cause:
The certificate has expired.

Possible solution:
If you do not want to change your certificate (especially for test certificates), you can use the RenewCert tool to extend your certificate's expiry date.