[Mono-list] cannot find metadata file MySql.Data.dll

jmalcolm malcolm.justin at gmail.com
Thu Apr 22 11:35:17 EDT 2010

Try compiling with 'gmcs' instead of 'mcs'.

Depending on your version of Mono, mcs runs against the 1.1 profile (without
generics) and gmcs runs against the 2.0 profile (with generics).

It is likely that MySql.Data.dll was built against System.Data.dll 2.0 but
you are building against System.Data.dll 1.0 when you use 'mcs'.

If that does not work, what happens when you put MySql.Data.dll in the same
directory as your source file?
View this message in context: http://mono.1490590.n4.nabble.com/cannot-find-metadata-file-MySql-Data-dll-tp2018275p2020730.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list