vb.net 程序不会建立
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/22110830/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-17 16:56:55 来源:igfitidea点击:
Program will not build
提问by Shmewnix
I'm trying to build a program and I'm getting the error:
我正在尝试构建一个程序,但出现错误:
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
Any Help is appreciated
任何帮助表示赞赏
回答by Nagaraj S
Check your certificates it exist or not
检查您的证书是否存在
View or manage your certificates
To solve this problem in Visual Studio
在 Visual Studio 中解决这个问题
- Right click on the project and selected Properties.
- Click on tag Signing.
- And check the checkbox next to Sign the ClickOnce manifests.
- Press the button Create Test Certificate... and followed The process.
- 右键单击项目并选择属性。
- 单击标记签名。
- 并选中签署 ClickOnce 清单旁边的复选框。
- 按按钮创建测试证书...并遵循该过程。



