Hi folks, I have compiled and installed Mono tarball daily package from 2009 12 15 with C# 4.0 profile. I created simple console application which retrieves data from MySQL database (using MySql.Data.dll assembly) with ADO.NET. When I compile source code and run application like this:
r...@vps-19-ubuntu-server:~/projects/ConsoleTest# ../../mono4/bin/dmcs Program.cs AdoNetMapper.cs -r:System.Data -r:MySql.Data.dll r...@vps-19-ubuntu-server:~/projects/ConsoleTest# ../../mono4/bin/mono Program.exe I get this exception: ** (Program.exe:2495): WARNING **: Missing method System.Data.Common.DbConnection::EnlistTransaction(Transaction) in assembly /root/mono4/lib/mono/gac/System.Data/4.0.0.0__b77a5c561934e089/System.Data.dll, referenced in assembly /root/projects/ConsoleTest/MySql.Data.dll Unhandled Exception: System.MissingMethodException: Method not found: 'System.Data.Common.DbConnection.EnlistTransaction'. at (wrapper remoting-invoke-with-check) MySql.Data.MySqlClient.MySqlConnection:Open () at ConsoleTest.AdoNetMapper.GetUsers () [0x00000] in <filename unknown>:0 at ConsoleTest.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 However when I directly load System.Data.dll assembly version 2.0.0.0 everything works perfectly. Is this a problem of MySql.Data.dll assembly which is not compatible with System.Data.dll version 4.0.0.0?
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
