SignTool 错误:未找到满足所有给定条件的证书 - 如何构建

问题描述

我如何构建这个项目?

C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3975,5): error MSB3482: An error occurred while signing: Failed to sign bin\Debug\app.publish\CxxxxxxxxxxxxxPDFGenerator.exe. SignTool Error: No certificates were found that met all the given criteria.

我这里有一个没有密码的 pfx 文件

enter image description here

我可以为当前用户和本地机器安装它:

enter image description here

enter image description here

但是,我仍然无法构建。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)