Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failing to publish a Windows Forms project

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?

like image 291
Dmitry Makovetskiyd Avatar asked Aug 19 '11 17:08

Dmitry Makovetskiyd


People also ask

How do I publish a Windows Form application?

Click the sign in option and select the checkbox (Sign the Click Once manifests). Go to Security >> select Check Box (Enable Click Once Security Settings). Go to Publish >> select Publishing folder location path and Save. Click "Publish Now" button.

Is WinForms dying?

Win Form has been used to develop many applications. Because of its high age (born in 2003), WinForm was officially declared dead by Microsoft in 2014. However, Win Form is still alive and well.

Will WinForms be deprecated?

WinForms won't be deprecated until Win32 is ... which could be quite sometime! WPF on the other hand has few direct dependencies on Win32 so could potentially form the basis of a "fresh start" UI layer on a future version of windows.


2 Answers

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.

like image 54
Darren Avatar answered Oct 04 '22 06:10

Darren


Go to Signing page in the project properties and Uncheck Sign The ClickOnce manifests.

Please see screenshot

like image 42
AliSafder Avatar answered Oct 04 '22 08:10

AliSafder