AdvancedHMI Software
General Category => Support Questions => Topic started by: needhmi on May 05, 2018, 09:30:42 AM
-
I've been using Visual Studio version 17 for several months with no issues, but last night got this error when trying to build:
An error occurred while signing: Failed to sign bin\Debug\app.publish\AdvancedHMI.exe. SignTool Error: No certificates were found that met all the given criteria.
I thought it may be due to the changes I was making to my project, so went back to an old project and still have the same error.
Any ideas?
-
I always recommend to never use Publish. It has several quirks that will give you problems.
https://www.advancedhmi.com/forum/index.php?topic=14.msg37#msg37
https://www.advancedhmi.com/forum/index.php?topic=1047.msg5491#msg5491
-
Yeah wasn't using publish, just building it, something I have done at least 50 times before. I found the "Sign the click once manifests" flag was checked in Visual studio (perhaps some windows update changed it, I sure didn't). Unchecked that (see attached) and it's working again.
Thanks for the answer anyway Archie!
-
My mistake.... I jumped to the conclusion it was a publish issue because the test certificate is always the first sign that publish was used and the 1 year later the certificate expired.