Gosh it's a minefield. So I've downloaded mono for windows, attached the
Mono.Data.Sqlite.dll to my Visual Studio 2010 project.

Sure enough all seems good, until I run and I get:

The type initializer for 'Mono.Data.Sqlite.SqliteConvert' threw an
exception.
at Mono.Data.Sqlite.SqliteConvert.Split(String source, Char separator)
   at Mono.Data.Sqlite.SqliteConnection.ParseConnectionString(String
connectionString)
   at Mono.Data.Sqlite.SqliteConnection.Open()
System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.CompilerServices.RuntimeHelpers.InitializeArray(Array
array, RuntimeFieldHandle fldHandle)
   at Mono.Data.Sqlite.SqliteConvert..cctor()

May I ask what connection string you use, I seem to have tried all manner of
formats and none seem to work.



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Single-dll-targeted-at-multi-platform-but-using-sqlite-possible-tp4656335p4656356.html
Sent from the Mono - General mailing list archive at Nabble.com.
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to