Visual Studio 2012 Clickonce部署问题 [英] Visual Studio 2012 Clickonce Deployment Issues

查看:76
本文介绍了Visual Studio 2012 Clickonce部署问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚升级到Visual Studio 2012,当用户更新曾在VS2010中发布过的应用程序时,我遇到了问题,现在我在VS2012中发布了更新的版本。 ClickOnce更新将下载所有文件,但只要你期望应用程序打开它就会遇到错误,其中包含以下消息。
"清单中的引用与下载的程序集的标识不匹配"。

I just recently upgraded to Visual Studio 2012 and I am having issues when the user goes to update an application that was once published in VS2010 and now I published a newer version in VS2012. The ClickOnce update will download all the files, but just as soon as you would expect the application to open it encounters an error with the following message in it. "Reference in the manifest does not match the identity of the downloaded assembly".

如果我打开VS2010并在那里发布新版本,一切都会正常工作。

If I open up VS2010 and publish a new version there, everything works just as it should.

任何帮助都将不胜感激。

Any help would be appreciated.

推荐答案

Kyle,

I试过,但问题没有重现。 您是否会遵循
这个博客
,看看它对你有帮助吗?

I tried but the issue doesn't reproduce.  Would you follow this blog and see if it help you?

想法是包含/ nowin32manifest切换
http ://msdn.microsoft.com/en-us/library/bb513864.aspx
功能在构建应用程序时。

The idea is to include /nowin32manifest switch http://msdn.microsoft.com/en-us/library/bb513864.aspx  while building your application.

祝福。


这篇关于Visual Studio 2012 Clickonce部署问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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