Forum Xamarin.Android

Mono.Data.Sqlite version conflict

I'd like to ask a question first - is it possible to connect to local database (from android device to PC DB) using Xamarin?


var conn = new SqliteConnection("Server=(local)\SqlExpress;Database=myDB;Connect Timeout=1;");

I'm getting this error:

Error 1 The type 'System.Data.Common.DbConnection' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

Could anybody help, please?


  • keithphillipskeithphillips USUniversity

    We are getting this problem on our build server. It works just fine locally. Anyone have suggestions?

Sign In or Register to comment.