Failing to publish a Windows Forms project

Dmitry Makovetskiyd picture Dmitry Makovetskiyd · Aug 19, 2011 · Viewed 25.5k times · Source

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?

Answer

Darren picture Darren · Oct 12, 2011

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.