ClickOnce部署错误:比清单中指定不同的计算出的散列 [英] ClickOnce Deployment Error: different computed hash than specified in manifest

查看:393
本文介绍了ClickOnce部署错误:比清单中指定不同的计算出的散列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试通过的ClickOnce部署

I keep on running across this error when trying to deploy via ClickOnce

File, image.jpg, has a different computed hash than specified in manifest.



我意识到,这是一个有很多谷歌搜索结果的错误,但我一直无法解析这个。陌生人的部分是,这ClickOnce的包已被部署在各种其他机器(至少30)的没有任何问题 - 这只是发生一个特定的机器上的Windows 7和x64

I realize that this is an error that has a lot of google results but I have been unable to resolve this. The stranger part is that this ClickOnce package has been deployed on a variety of other machines (at least 30) without any issues - this is only happening on one specific machine with Windows 7 and x64.

在一方面,我检查了清单文件和版本号不匹配,他们应该和我听说这可能是错误的原因。这没有道理,因为我检查了服务器上的文件都在,一切都匹配在那里。

On the one hand, I have checked the manifest file and the version numbers don't match as they should and I've heard that this can be the cause of the error. This doesnt make sense because I checked the server the files are on and everything matches there.

在另一方面,我知道这包工程在其他机器上,这是第一次机器想出这个错误。

On other hand, I know this package works on other machines and this is the first machine coming up with this error.

最后,我也尝试了所有的通常修正这一点。我已经签署了包,我已经删去了部署服务器的所有文件,我已经清理,重建和重新部署这些工作中的应用,没有。

Finally, I've also tried all the "usual" fixes for this. I have signed the package, I have erased all files from the deployment server, I have cleaned, rebuilt and redeployed the application and none of these work.

帮助!

推荐答案

您需要重新生成应用程序清单。当您更改文件内容并没有相应地更新你的清单会出现这种情况。

You need to regenerate the application manifest. This happens when you change file contents and do not update your manifests accordingly.

Mage.exe MSDN文档

这篇关于ClickOnce部署错误:比清单中指定不同的计算出的散列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆