签名问题一则:Unable to find manifest signing certificate in the certificate store

经常换机器换系统,一个project换机器后重建,有时出现以下错误:
    "Unable to find manifest signing certificate in the certificate store"

解决方法:

一、在项目的属性->Signing选项(签名)->Sign the ClickOnce manifests(为 ClickOnce 签名清单) 勾去掉.编绎通过.

二、手工打开 *.csproj ,删除下面四句:

    <manifestcertificatethumbprint>...</manifestcertificatethumbprint>
    <manifestkeyfile>...</manifestkeyfile>
    <generatemanifests>...</generatemanifests>
    <signmanifests>...</signmanifests>

删除后就可以正常编译了。

你可能感兴趣的:(certificate)