locked
C Sharp APPLICATION BUILD ERROR RRS feed

  • Question

  • Severity Code Description Project File Line Suppression State
    Error An error occurred while signing: Failed to sign bin\Debug\app.publish\DataMain.exe. SignTool Error: No certificates were found that met all the given criteria. DataMain


    MC

    Thursday, November 5, 2020 4:26 PM

All replies

  • This indicates that you are trying to publish a signed app but no signing certificate can be found. The signing information is part of the command that is being used. Without knowing what signing settings you're using I'm guessing you're letting the signtool figure it out and it isn't finding a valid cert to use.

    If you have configured signing as part of your project settings then the certificate you are pointing to is possibly no longer valid (expired). Create a new certificate using your favorite certificate generation service and then have the signing tool use the new certificate.


    Michael Taylor http://www.michaeltaylorp3.net

    Thursday, November 5, 2020 6:09 PM