我在应用程序的中途不断收到此错误。我正在运行Ubuntu 12.10。程序集与应用程序位于同一目录中,就像在我的Windows桌面上的调试文件夹中一样。我实际上能够在我的RasberryPi上以这种方式运行它。我确实将组件加载到单声道GAC中。但是,实际的程序集都是小写的,而在错误中它有一些大写字母:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, Version=6.8.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies.
File name: 'MySql.Data, Version=6.8.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'
at ASGI.Module1.Main () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, Version=6.8.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies.
File name: 'MySql.Data, Version=6.8.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'
at ASGI.Module1.Main () [0x00000] in <filename unknown>:0