Mono.Data.Sqlite version 2.0.5.0 conflict

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

Code:

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

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=2.0.5.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

Could anybody help, please?

Posts

  • 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.