无法加载文件或程序集DevComponents.DotNetBar2

时间:2013-02-23 14:33:44

标签: dotnetbar

所以我得到了这个文件,它应该将访问数据库转换为SQL(对于一个名为PROFFIX的特定程序,但这并不重要......)。但是,如果我尝试运行它,则会产生以下错误:

Fehler beim Starten von PROFFIX dbConvert!

(运行PROFFIX dbConvert时出错)

System.IO.FileLoadException: Could not load file or assembly
'DevComponents.DotNetBar2, Version=10.3.0.4, Culture=neutral,
PublicKeyToken=7eb7c3a35b91de04' or one of its dependencies. The located
assembly's manifest definition does not match the assembly reference.
(Exception from HRESULT: 0x80131040)
File name: 'DevComponents.DotNetBar2, Version=10.3.0.4, Culture=neutral,
PublicKeyToken=7eb7c3a35b91de04'
  at dbconvert.frmHaupt.InitializeComponent()
  at dbconvert.frmHaupt..ctor()
  at dbConvert.pxDbConvertFkt.Main()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure
logging.
To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].

所以任何人都知道这个DevComponents.DotNetBar2到底出了什么问题,哪里可以找到解决这个问题的方法呢?

2 个答案:

答案 0 :(得分:0)

构建应用程序的控件版本与可执行文件附带的控件版本不同,或者根本不包含DotNetBar。您必须始终在您的可执行文件中包含与您的应用程序编译完全相同的DotNetBar版本。 .NET Framework始终绑定到使用。

编译的程序集应用程序的确切版本

答案 1 :(得分:0)

即使您已经拥有其dll文件,但也应从http://www.devcomponents.com/dotnetbar/download.aspx安装DotNetBar模块

但是当前版本不是10.3.0.4。

您可以通过谷歌搜索找到它,或者要求他们或我。

相关问题