SignTool Error: An error occurred while attempting to sign

发布于 2020-05-06  52 次阅读


问题描述:

重装系统后打开工程,编译时发生错误,错误信息:

Error 5 An error occurred while signing: Failed to sign binDebugapp.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: binDebugapp.publish\setup.exe PublishBook

编程环境:vs2008 EN


解决方法:

1. Go to the property of the Project

2. Select the Signing tab

3. Click ‘create test certificate’ button

  it will ask for new password 2 times and you have another 1 year extension!


一沙一世界,一花一天堂。君掌盛无边,刹那成永恒。