[MonoDevelop] Problems using MySQL
Spitfire777
bastik_ at web.de
Thu May 5 15:38:22 EDT 2011
Hi,
I'm running MonoDevelop 2.4 (German) under Ubuntu 11.04 with the native
Mono-Compiler (Mono JIT compiler version 2.6.7 (Debian 2.6.7-5ubuntu3)).
Now I'm trying to make the MySQL-Connector/NET run with C#. So I've
downloaded the Connector/Net 6.3.6 from the official Website, unpacked it
and moved the content of the "v4" folder to my project's bin folder.
After that I did a right-click on "links" (may differ in the english
version) in the project menu, "edit links", ".NET-Assembly", went to the bin
folder and added all *.dll files to the project.
First, I got an error message like "Could not load file or assembly
MySql.Data. Then I saw that the file names of the DLLs were written in lower
case, so I renamed all of them to the correct casing.
But now when I try to run my program, I get the following exception:
** (/home/spitfire777/Projects/Hausaufgabe 2/Hausaufgabe
2/bin/Debug/Hausaufgabe 2.exe:13349): WARNING **: Could not load file or
assembly 'System.Transactions, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' or one of its dependencies.
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or
assembly 'System.Transactions, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Transactions, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089'
at AcronymII.AcronymConverter.LoadAcronyms () [0x000b5] in
/home/spitfire777/Projects/Hausaufgabe 2/Hausaufgabe
2/AcronymConverter.cs:47
at AcronymII.AcronymConverter.ConvertText () [0x00000] in
/home/spitfire777/Projects/Hausaufgabe 2/Hausaufgabe
2/AcronymConverter.cs:55
at AcronymII.Application.Run () [0x00021] in
/home/spitfire777/Projects/Hausaufgabe 2/Hausaufgabe 2/Application.cs:92
at AcronymII.Application.Main (System.String[] args) [0x0002e] in
/home/spitfire777/Projects/Hausaufgabe 2/Hausaufgabe 2/Application.cs:143
So, what could I do?
--
View this message in context: http://mono.1490590.n4.nabble.com/Problems-using-MySQL-tp3499280p3499280.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
More information about the Monodevelop-list
mailing list