“File has a different computed hash than specified in manifest” error when signing the EXE

前端 未结 3 1539
故里飘歌
故里飘歌 2020-12-18 05:42

My ClickOnce installation fails with an error:

File, WindowsFormsProject.exe, has a different computed hash than specified in manifest.

3条回答
  •  执念已碎
    2020-12-18 05:56

    The credit goes to Dmitriy for his answer. However I had to make slight changes to Dmitry's answer to make it work for me. Specifically:

    • I added an ending tag for "Target"
    • I am using Windows 8.1, and had to change the signtool.exe path
    • I am using a PFX file and had to specify the password
    • I didn't need to add all of the info he provided

    Please modify the values for "my_signing_file.pfx", "mypassword", "myexe.exe" and to make this work for you:

    
    
    
    

提交回复
热议问题