天天看點

Unable to find manifest signing certificate in the certificate storeC#_錯誤"Unable to find manifest signing certificate in the certificate store"

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>

如果你的項目沒有經過釋出,就不會有以上問題出現

繼續閱讀