C#_错误"Unable to find manifest signing certificate in the certificate store"
重装系统,把以前写的项目用VS08SP1打开编译时发现报错,错误提示是:Unable to find manifest signing certificate in the certificate store,有两种解决方法:
方法一:把DEF项目的属性->Signing选项->Sign the ClickOnce manifests 勾去掉,这样就可以编绎通过了;
方法二:用记事本打开 *.csproj文件 ,删除下面四句代码:
<manifestcertificatethumbprint>...</manifestcertificatethumbprint>
<manifestkeyfile>...</manifestkeyfile> <generatemanifests>...</generatemanifests> <signmanifests>...</signmanifests>
如果你的项目没有经过发布,就不会有以上问题出现