2021年3月16日 星期二

no certificates were found that met all the given criteria. vs 2017

 今天要發布一個故人的舊專案時.居然在建置時發生一個沒看過的錯誤,

no certificates were found that met all the given criteria. 

我的媽媽呀.這什麼鬼

大神告訴我



對著報錯的專案按下右鍵,選擇屬性,再來找到簽署,最後把簽署clickonce的勾勾拿掉,重新建置一次就可以成功了

參考網址:

https://stackoverflow.com/questions/22946399/signtool-error-no-certificates-were-found-that-met-all-given-criteria-with-a-wi




沒有留言:

張貼留言

簽署時發生錯誤: 無法簽署 bin\Debug\app.publish\XXX.exe。SignTool Error: No certificates were found that met all the given criteria.

 這是一個程式碼簽署憑證的問題。當您的專案設定要進行程式碼簽署,但系統找不到合適的憑證時就會出現這個錯誤。以下是幾種解決方法: 方法 1:移除程式碼簽署設定 如果您不需要程式碼簽署,可以在專案中移除相關設定: 在 Visual Studio 中右鍵點擊專案 → 屬性 點擊「...