净ClickOnce部署和错误的组件被称为更新后的版本 [英] .Net ClickOnce deployment and wrong assemblies called after updated version

查看:246
本文介绍了净ClickOnce部署和错误的组件被称为更新后的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ClickOnce应用程序(APP1),从另一种解决方案(APP2)调用的DLL。我最近更新这个应用程序在一个客户与一个奇怪的事情发生。

I have a ClickOnce application (app1) that calls dlls from another Solution (app2). I recently updated this application at one customer and a strange thing occured.

他得到了新的版本(发布版本是在控制面板中正确/添加或删除程序)APP1和应用程序版本是正确的,因为在应用程序手动检查。但所谓的参考答案(APP2)的DLL文件仍然是旧的。

He got the new version (publish version was correct in control panel/add remove programs) of app1 and the application version was correct as manually inspected in the application. But the dlls called from the referenced solution (app2) was still the old ones.

我们删除在C中的所有文件:\的Documents and Settings \用户名\本地设置\ APPS \ 2.0,再安装。这一次有没有问题,正确的DLL文件被称为。

We deleted all files in C:\Documents and Settings\username\Local Settings\Apps\2.0 and installed again. This time there was no problem, the correct dlls were called.

有一点要提的是,该版本号是在新版本中完全不同的,因为我们改变了这个升级的同时,从2005年到VS VS2008。旧/新发布的版本:1.0.0.6 / 1.9.1.6

One thing to mention is that the version numbers are completely different in the new version since we changed this while upgrading from VS 2005 to VS2008. Old / new published version: 1.0.0.6 / 1.9.1.6.

推荐答案

这似乎是.NET Framework中的一个错误3.5 SP1。

This appears to be a bug in .net framework 3.5 SP1.

http://support.microsoft.com/default.aspx/kb/971052

我固定它通过:

  1. 从命令提示符下清除.NET在线缓存:RUNDLL32 dfshim CleanOnlineAppCache
  2. 卸装所有的.NET应用程序,可以有一个参考到同一个问题的组件。
  3. 重新安装所有的应用程序。

这篇关于净ClickOnce部署和错误的组件被称为更新后的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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