During the VS Publishing window application, you are prompted
"SignTool reported an error ' failed to sign ... \setup.exe. SignTool Error: Isigncode::sign returned error: 0x80880253 signer's certificate is not valid for signature. ’”
When you use ClickOnce deployment to perform a publication or use SignTool to sign a manifest, you may encounter this error, which is generated by SignTool.
http://msdn2.microsoft.com/zh-cn/library/ms228227 (vs.80). aspx
To correct this error, you need to go to the CA vendor's website and re-download the certificate as needed.
Or use the following methods to resolve:
1. Open [Project \project Properties]
2. Click on the [signature] item and you will see that the certificate in the "sign for ClickOnce Manifest" list has expired.
3. Click [Select from storage] on the right, select the available certificate in the list of certificates that pops up and OK.
4. Re-create and publish the project.
Note: Project refers to the name of the project that is currently being published.
Go: vs Publish window Application error: Failed to sign ... \setup.exe