ClickOnce 發佈技術--重新安裝電腦后,發佈失敗(Sign帳號變更)處理方式

 

We got this error the other day when trying to publish. After some searching I came across the Certificate for signing ClickOnce manifests. It has an expiration date of 10/06/2006. So we thought we could just create a new test certificate and then publish. This got us past the error but then the next day a user brought over a detail report.

System.deployment.application.deploymentexception
-the deployment identity does not match the subscription

This is a VB 2005 app that gets publish to a network share so I don't know if I need all this signing security. But I eneded up having to set my machines clock back prior to Oct 6, roll back to a earlier version and then rebuilding the project and redeploying Otherwise I'd have to do a unisntall of one version and then a new install after creating a new Test certificate. This obviously isn't the right way. How do I fix this without ahving to reinstall the app every year after the certificate expires?

 

==》解決方式

 

You can change the certificate used to sign the application from the project
properties screen. just go to the signing tab, and in the ClickOnce manifest
section Click one create test certificate button.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值