visual-studio-2010 - “Unable to find manifest signing certificate in the certificate store” - 即使添加新 key

标签 visual-studio-2010 visual-studio code-signing strongname

我无法使用强名称 key 签名构建项目 - 标题中的消息总是出现。

是的,该项目最初是从另一台计算机复制过来的。但是,即使我通过项目属性中的“签名”选项卡添加新 key ,仍然会显示此错误。

我尝试以管理员身份运行 Visual Studio,并尝试手动将 key 添加到 Windows 证书存储区。

救命!

编辑:我在新项目中没有遇到此错误,但我很想让这个现有项目正常运行。即使我创建新证书也不起作用!

最佳答案

我终于找到了解决办法。

  1. 编辑相关项目的 .csproj 文件。

  2. 删除以下代码行:

    <PropertyGroup>
       <ManifestCertificateThumbprint>...........</ManifestCertificateThumbprint>
    </PropertyGroup>
    <PropertyGroup>
       <ManifestKeyFile>xxxxxxxx.pfx</ManifestKeyFile>
    </PropertyGroup>
    <PropertyGroup>
       <GenerateManifests>true</GenerateManifests>
    </PropertyGroup>
    <PropertyGroup>
       <SignManifests>false</SignManifests>
    </PropertyGroup>
    

关于visual-studio-2010 - “Unable to find manifest signing certificate in the certificate store” - 即使添加新 key ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11957295/

相关文章:

.net - Visual Studio Performance Profiler 中的错误结果

cryptography - 为什么我们在进行代码签名时要设置时间戳?

visual-studio-2010 - Visual Studio 2010 优化和技巧?

visual-studio-2010 - WebsiteSpark和Visual Studio 2010

c# - 无法在 Visual Studio 中为 UWP 应用程序设置 "User Notification Listener"功能

visual-studio - 如何在VS 2012中保存SQL Schema Compare选项?

Android - Eclipse : Keystore was tampered with, 或密码不正确

windows - 如何选择正确的数字证书在 Windows 下对可执行文件进行代码签名?

c++ - 为什么 Visual C++ 2010 使用此汇编语法进行内存寻址?

visual-studio-2010 - Visual Studio 2010 安装项目文本变量列表