同样的ClickOnce发布的版本,但集版本不同,更新没有发生 [英] clickonce same publish version but assembly version different, update not happening

查看:182
本文介绍了同样的ClickOnce发布的版本,但集版本不同,更新没有发生的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我已经部署ClickOnce应用程序,在我的应用我有10个外部DLL。由于里面我的DLL文件中的代码不断变化和它的强硬重新分配我去ClickOnce部署策略。但我想知道的事情,如果我做了更改dll文件之一,并提升它的程序集的版本从1.0.0.0 1.0.0.1到,但不改变发布的版本,它仍然是1.0.0.0。我也有设置更新设置为应用程序加载之前。我重新运行安装部署,但它并没有运行更新的组件。哪里不对?我使用VS2008和
C#.NET 2.0

Hi I have deployed a clickonce application, in my application i have 10 external dlls. Since the code inside my dll files keeps changing and it's tough to redistribute i went with clickonce deployment strategy. But i wanted to know a thing, if i make a change to one of the dll files and upgrade it's assembly version from 1.0.0.0 to 1.0.0.1, but do not change the publish version, it still is 1.0.0.0. Also i have set the update setting to be before application loads. I re ran the setup deployment but it did not run the updated assembly. What is wrong? I'm using VS2008 and C#.NET 2.0

推荐答案

的ClickOnce只关心发布的版本为整个项目。在我的项目发布选项卡,并再次发布此增量

ClickOnce only cares about publish version for the whole project. Increment this in your "My Project" Publish tab and publish again.

这篇关于同样的ClickOnce发布的版本,但集版本不同,更新没有发生的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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