SQLite Forum

System.Data.SQLite (.NET) via NuGet on Xamarin
Login

System.Data.SQLite (.NET) via NuGet on Xamarin

(1) By XavierAP on 2021-02-27 08:29:30 [source]

Hello,

System.Data.SQLite does not work on mobile (Xamarin), at least directly via NuGet. It seems to be a known issue reported often elsewhere:

https://forums.xamarin.com/discussion/153170/system-data-sqlite

I have the same problem, on a multi-platform app that shares the same backend on Xamarin and desktop, and I'm forced to the same workaround to switch to Microsoft.Data.Sqlite for mobile. Which is too bad, because this has separate problems on desktop (.NET Framework or Core) and it also does not include ADO features that System.Data.SQLite such as DataAdapter. So I'm forced to duplicate my backend in two branches for both apps, that I develop in one solution.

As far as I know System.Data.SQLite may be fine, it may be just a deployment error. But I haven't diagnosed it yet.

Could this be fixed? In case no one is on top of maintaining this, I could look into it as long as there's response.

Thanks for any reply.

Regards, Xavier