程序不会建立

时间:2014-03-01 06:02:16

标签: vb.net

我正在尝试构建一个程序而且我收到了错误:

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 个答案:

答案 0 :(得分:16)

检查您的证书是否存在

View or manage your certificates

在Visual Studio中解决此问题

  1. 右键单击项目并选择属性。
  2. 点击标签签名。
  3. 并选中签署ClickOnce清单旁边的复选框。
  4. 按“创建测试证书...”按钮,然后按 这个过程。
  5. enter image description here