Bug #63759 MySql.Data.dll conflict System.XML 2.0 on other frameworks like monotouch
Submitted: 15 Dec 2011 12:51 Modified: 9 Mar 2012 19:07
Reporter: Pedro Larouca Email Updates:
Status: Not a Bug Impact on me:
None 
Category:Connector / NET Severity:S1 (Critical)
Version:2 OS:Other (monotouch , ios & android)
Assigned to: Gabriela Martinez Sanchez CPU Architecture:Any
Tags: android, ios, Mono, monotouch, MySql.Data.dll

[15 Dec 2011 12:51] Pedro Larouca
Description:
Cannot use mysql connector in monotouch (android or ios) due to System.Xml included in MySql.Data.dll conflicts. Tryed other db connectors and work all.

How to repeat:
Create a monotouch project (android or ios) and try to use mysql.data.dll
[9 Mar 2012 19:07] Gabriela Martinez Sanchez
Hi Pedro, thanks a lot for your report. I did a small application that connects to  a Mysql database and I didn't got any errors. There are some limitations between monotouch and .net so the version that I used to avoid the compatibility issues was the MySql.Data.CF.dll which includes a smaller amount of .net namespaces but that you can use to fully connect and query the database. We'll publish a little tutorial with a sample application so you can see everything working together. Please let us know if you have any comments or questions.