zoukankan      html  css  js  c++  java
  • 无法在证书存储区中找到清单签名证书 .

    参考:http://blog.csdn.net/_NET2004/article/details/3903591

    今天同事将程序重新修改了下位置后运行程序,发现一运行就出现"无法在证书存储区中找到清单签名证书";记录下方法

    第一种办法:
    工程->属性->签名->为ClickOnce清单签名
    去掉这个勾就可以了
    第二种办法:
    用记事本打开对应csproj文件
    将文件中的" <SignManifests>true</SignManifests> " 改为 "<SignManifests>false</SignManifests>"保存好就行了!
    第三种办法:在vs2005中出现“无法在证书存储区中找到清单签名证书”,解决办法是用记事本打开项目的.csproj文件,删除类似以下xml就能顺利通过编译了
    <ManifestCertificateThumbprint>B531F2CF222748C5E29308FC2247704827D1EA8C</ManifestCertificateThumbprint>
           <ManifestKeyFile>xxxx_TemporaryKey.pfx</ManifestKeyFile>
           <GenerateManifests>true</GenerateManifests>
           <SignManifests>true</SignManifests>
           <PublishUrl>D:/xxx/bin/</PublishUrl>
           <Install>true</Install>
           <InstallFrom>Disk</InstallFrom>
           <UpdateEnabled>false</UpdateEnabled>
           <UpdateMode>Foreground</UpdateMode>
           <UpdateInterval>7</UpdateInterval>
           <UpdateIntervalUnits>Days</UpdateIntervalUnits>
           <UpdatePeriodically>false</UpdatePeriodically>
           <UpdateRequired>false</UpdateRequired>
           <MapFileExtensions>true</MapFileExtensions>
           <CreateWebPageOnPublish>false</CreateWebPageOnPublish>
           <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
           <IsWebBootstrapper>false</IsWebBootstrapper>
           <BootstrapperEnabled>true</BootstrapperEnabled>

    第四种方法:

      工程->属性->签名;有个创建测试证书的按钮,点击创建。

    一般而言,第一种方法即可完成修复。后三种,我没有使用过

  • 相关阅读:
    (DP)codeforces
    (树状数组)POJ
    (树状数组)POJ
    (二维树状数组)POJ
    (模拟)HDU
    (暴力+深搜)POJ
    (判连通+暴力)UVA
    (深搜)UVA
    (暴力+各种算法)hihoCoder
    (尺取法)HDU
  • 原文地址:https://www.cnblogs.com/jiutianxingchen/p/2881647.html
Copyright © 2011-2022 走看看