无法在证书存储区中找到清单签名证书 解决方法

在vs2005中出现“无法在证书存储区中找到清单签名证书”,

解决办法是用记事本打开项目的.csproj文件,

删除类似以下xml就能顺利通过编译了.

XML文件如下:

<ManifestCertificateThumbprint>2EA54AA87930B25390B2382AA6B48B9EC10E9C08</ManifestCertificateThumbprint>
<ManifestKeyFile>BarCodeTool_TemporaryKey.pfx</ManifestKeyFile>
<GenerateManifests>true</GenerateManifests>
<SignManifests>false</SignManifests>
<SignAssembly>false</SignAssembly>
<AssemblyOriginatorKeyFile>
</AssemblyOriginatorKeyFile>
<PublishUrl>http://localhost/BarCodeTool/</PublishUrl>
<Install>true</Install>
<InstallFrom>Web</InstallFrom>
<UpdateEnabled>true</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<InstallUrl>http://10.0.0.6/BarCodeTool/</InstallUrl>
<CreateWebPageOnPublish>false</CreateWebPageOnPublish>
<ApplicationRevision>6</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>

第二种方法:删除此证书,重新导入新的证书。

posted @ 2011-02-22 19:54  家有良田三亩八  阅读(356)  评论(0编辑  收藏  举报