Reputation: 7053
I am trying to click on the project and publish it. But what I get is this:
Error 94 An error occurred while signing: Failed to sign
bin\Debug\app.publish\setup.exe. SignTool Error: The signer's certificate is not valid for signing. SignTool Error: An error occurred while attempting to sign: bin\Debug\app.publish\setup.exe CHATT3R
What does it mean?
Upvotes: 36
Views: 31557
Reputation: 239
In my case, I just did:
Done.
Upvotes: 4
Reputation: 2548
I had also problem problem with signing with an error error MSB3482: An error occurred while signing: Failed to sign bin\Debug\app.publish\....exe. SignTool Error: An unexpected internal error has occurred
the interesting thing was that my certificate was not expired.
In my case problem was with Timestamp server URL - don't know why, but the previously provided URL by some reason was not working anymore (maybe some temporary unavailability?)
Switched it to different Timestamp server URL and signing was working again
The Timestamp server URL which was not working http://tsa.starfieldtech.com
The Timestamp server URL I replaced it with was http://timestamp.globalsign.com/scripts/timstamp.dll
Upvotes: 0
Reputation: 569
Go to Signing page in the project properties and Uncheck Sign The ClickOnce manifests.
Upvotes: 6
Reputation: 4488
I had this problem. It turns out the certificate had expired (useful error message - thanks Microsoft)
If you go to the Signing page in the project properties you can see the expiry date, and create a new test certificate if required.
Upvotes: 60