2014-03-01 34 views
7

我试图建立一个程序,我得到的错误:计划不会建

Error 2 An error occurred while signing: Failed to sign bin\Release\app.publish\\setup.exe. SignTool Error: ISignedCode::Sign returned error: 0x80880253 

    The signer's certificate is not valid for signing. 

SignTool Error: An error occurred while attempting to sign: bin\Release\app.publish\\setup.exe program1 

任何帮助表示赞赏

+1

您可以发布您的代码? –

回答

14

检查证书它存在与否

View or manage your certificates

在Visual Studio中解决此问题

  1. 右键单击项目并选择属性。
  2. 点击标签签名。
  3. 然后选中签署ClickOnce清单旁边的复选框。
  4. 按下按钮创建测试证书...并按照 该过程。

enter image description here