0

所以我得到了这个文件,它应该将访问数据库转换为 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 到底有什么问题,我在哪里可以找到这个问题的解决方案?

4

2 回答 2

0

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

于 2013-09-27T01:19:56.423 回答
0

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

但当前版本不是 10.3.0.4。

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

于 2018-11-23T09:39:53.417 回答