ClickOnce发布错误:未找到符合所有给定条件的证书。 [英] ClickOnce publishing error: No certificates were found that met all given criteria.

查看:186
本文介绍了ClickOnce发布错误:未找到符合所有给定条件的证书。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Winforms应用程序,我正在尝试发布。我刚刚买了一台新的笔记本电脑,我正在尝试将所有代码移植到新的笔记本电脑上。当我尝试在新笔记本电脑上发布应用程序时(Windows 10 + Visual Studio 2015),它会抛出错误
"没有找到符合所有给定条件的证书。"


我仍然可以在旧笔记本电脑上发布应用程序,这也是Windows 10 + Visual Studio 2015配置。我的新笔记本电脑与GoDaddy有相同的代码签名证书问题,这些问题在旧笔记本电脑上安装和使用,用于发布
此应用程序。


是否有人有任何意见要分享这个问题?

解决方案

您好Rohit,


当通过Visual Studio获取此错误时,它是因为有一个签名证书设置与最初开发的计算机相匹配。


您可以通过转到项目属性>来检查这一点。签署标签并查看证书详细信息。


您可以取消选中"签署ClickOnce清单"禁用签名。





如果您不想关闭此选项,则必须安装证书。


参考:  Signtool错误:没有找到符合Windows Store
应用程序所有给定条件的证书?


如果您已安装证书,我建议您联系  证书提供商寻求帮助,正如您所说,GoDaddy。


问候,


Stanly


I have a Winforms application which I'm trying to publish. I just bought a new laptop and I'm trying to port all my code to the new laptop. When I try to publish the application on the new laptop (Windows 10 + Visual Studio 2015), it throws the error "No certificates were found that met all given criteria."

I'm able to still publish the application on the old laptop wich is also a Windows 10 + Visual Studio 2015 configuration. My new laptop has the the same Code Signing certificate issues by GoDaddy which is installed and used on the old laptop for publishing this application.

Does someone has any views to share on this issue?

解决方案

Hi Rohit,

When getting this error through Visual Studio it was because there was a signing certificate setup to match the computer it was originally developed on.

You can check this by going to the project properties > signing tab and checking the certificate details.

You can uncheck "Sign the ClickOnce manifests" to disable signing.


If you don't want to turn this option off you will have to install the certificate.

Refer: Signtool error: No certificates were found that met all given criteria with a Windows Store App?

If you have installed the certificate, I suggest you to contact the certificate provider for help, just as you said, GoDaddy.

Regards,

Stanly


这篇关于ClickOnce发布错误:未找到符合所有给定条件的证书。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆