当前位置: 代码迷 >> Web前端 >> 异常"Unable to find manifest signing certificate in the certificat.
  详细解决方案

异常"Unable to find manifest signing certificate in the certificat.

热度:590   发布时间:2012-10-06 17:34:01.0
错误"Unable to find manifest signing certificate in the certificat...

今天重装系统,把我以前写的项目用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>

??? 这样也可以正常编译。

如果你的项目没有经过发布,就不会有以上问题出现

  相关解决方案