【问题标题】:Cannot publish via clickonce after windows reinstallation due to key problems由于关键问题,重新安装 Windows 后无法通过 clickonce 发布
【发布时间】:2016-03-15 20:56:28
【问题描述】:

重新安装 Windows 后,我的 clickonce signing 不再工作。点击publish会弹出一个提示:

"The application is signed with a different key than the existing application on the server. Do you want to overwrite it?"

根据 MS 帮助,单击“是”将导致我的用户停止获取自动更新。我也收到了关于文化设置的警告,但在设置 en 后,这已被选中,不会是问题。我找到了similar problem,但没有帮助解决它。有人可以帮我吗?

【问题讨论】:

    标签: .net clickonce manifest code-signing


    【解决方案1】:

    解决方案: 这是证书到期日期的问题。

    解决方案: 我从here 下载了renewCert Tool。请注意,您必须使用project as a zip file 链接并自己编译。为此,您必须将Crypt32.dll 添加到Project->Properties->Linker->Input->Additional Dependencies 以获取Configuration: Release。

    现在我使用命令行来延长我的证书到期日期。现在可以了。

    【讨论】:

      猜你喜欢
      • 2011-08-20
      • 2020-08-29
      • 2021-12-06
      • 1970-01-01
      • 2023-02-08
      • 1970-01-01
      • 2019-07-13
      • 1970-01-01
      • 2017-11-30
      相关资源
      最近更新 更多