Unable to find manifest signing certificate in the certificate store

Unable to find manifest signing certificate in the certificate store

Vb.net跟C#都可能遇到這問題

當專案搬到另一台機器進行編譯後,可能會發生「Unable to find manifest signing certificate in the certificate store」

警告    1    Unable to find manifest signing certificate in the certificate store.   

unable

 

手動開啟 *.csproj  或 *.vbproj 檔案

搜尋:

<manifestcertificatethumbprint>XXX</manifestcertificatethumbprint>
<manifestkeyfile>XXX</manifestkeyfile>
<generatemanifests>true</generatemanifests>
<signmanifests>true</signmanifests>

將這幾行刪除後重新存檔,應該就能正常編譯。

參考這裡


如有錯誤 歡迎指正