简体   繁体   English

SignTool 错误:未找到符合所有给定条件的证书。 VS2019

[英]SignTool error : No certificates were found that met all the given criteria. vs2019

signTool error: No certificates were found that met all the given criteria. signTool 错误:未找到满足所有给定条件的证书。 vs2019 VS2019

This error some time occurs while building the WDF or WPF Driver Project with "Test Sign" in Visual Studio.在 Visual Studio 中使用“测试签名”构建 WDF 或 WPF 驱动程序项目时,有时会发生此错误。

To solve this issue.来解决这个问题。

follow below steps:请按照以下步骤操作:

Solution Explorer => Project Properties => Driver signing => General In "Test Certificate" select "Create Test Certificate"解决方案资源管理器 => 项目属性 => 驱动程序签名 => 常规在“测试证书”select“创建测试证书”

after selecting this option new certificate is created to Test Sign the driver.选择此选项后,将创建新证书以对驱动程序进行测试签名。

In my case, I just needed to start Visual Studio as administrator .就我而言,我只需要以管理员身份启动 Visual Studio。 That simple, I wish I know.这么简单,我希望我知道。 then I won't spent an hour digging into all kinds of project settings.那么我不会花一个小时深入研究各种项目设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 C2337 'importidl': 将解决方案升级到 VS2019 ( 16.9.2 ) 后找不到属性错误 - C2337 'importidl': attribute not found error after upgrading solution to VS2019 ( 16.9.2 ) 构建 static libcurl VS2019 时出错 - Getting an error building static libcurl VS2019 SignTool错误:找不到文件-pfx - SignTool Error: File not found - pfx 每当我在“基本”环境中启动 Anaconda Prompt 时,都会出现有关 VSINSTALLDIR 和 vs2019 的长错误消息 - Long error messages about VSINSTALLDIR and vs2019 whenever I start Anaconda Prompt in my "base" environment libtorch 在 Windows 10 (VS2019) 上构建后抛出 c10::error - libtorch throws c10::error after build on Windows 10 (VS2019) Trying to compile libpng VS2019 options.awk: bad line (10): com CMake Error at scripts/gensrc.cmake:68 (message): Failed to generate pnglibconf.tf5 - Trying to compile libpng VS2019 options.awk: bad line (10): com CMake Error at scripts/gensrc.cmake:68 (message): Failed to generate pnglibconf.tf5 Vs2019 无法运行 NUnit 测试 - 'testhost.x86.exe' 的问题 - Vs2019 cannot run NUnit Tests - Issue with 'testhost.x86.exe' Windows + VS2019 + CMake + CLion + Conan:如何启用 C++20? - Windows + VS2019 + CMake + CLion + Conan: How to enable C++20? VS2019 C++跨平台程序中包含nuget封装 - Including nuget packages in VS2019 C++ cross platform program SignTool是否使用X509生成证书? - Does SignTool produce certificates using X509?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM