soccerway
soccerway

Reputation: 11961

Which SQLite database to be downloaded for Xamarin.Forms

I would like to save data from the register screen into database in my xamarin.Forms app, I am planning to use SQLite database. I have already downloaded and installed the SQLite.Net.Core-PCL 3.1.1 library in my project.

Which database should be selected from the following link https://www.sqlite.org/download.html: Should I use Precompiled Binaries for Android or Precompiled Binaries for Windows ?

Environment details

OS: Windows 10 Enterprise, 64 bit operating system
IDE: Visual Studio 19 preview
Xamarin.Forms
SQLite.Net.Core-PCL 3.1.1

Upvotes: 0

Views: 251

Answers (1)

SushiHangover
SushiHangover

Reputation: 74134

You should use https://www.nuget.org/packages/sqlite-net-pcl/ as it is the orginal and updated version.

It contains a reference to the SQLitePCLRaw.bundle_green package which in turn provides the platform dependent SQLite native libraries for all the various platforms and frameworks:

  • .NETCoreApp 0.0
  • .NETFramework 3.5
  • .NETFramework 4.0
  • .NETFramework 4.5
  • .NETStandard 1.1
  • MonoAndroid 0.0
  • Portable Class Library (.NETFramework 4.5, Windows 8.0, WindowsPhoneApp 8.1)
  • UAP 10.0
  • Windows 8.0
  • Windows 8.1
  • WindowsPhone 8.0
  • WindowsPhoneApp 8.1
  • Xamarin.iOS 1.0
  • Xamarin.Mac 2.0

re: https://www.nuget.org/packages/sqlite-net-pcl/

re: https://www.nuget.org/packages/SQLitePCLRaw.bundle_green/

Upvotes: 1

Related Questions