Skip to content

One bundle, no mixing 1.x and 2.x

Eric Sink edited this page Nov 25, 2019 · 1 revision
  1. SQLitePCLRaw 2.x was a compatibility break. Packages from SQLitePCLRaw 2.x cannot be used with packages from 1.x.

  2. In SQLitePCLRaw 2.x, the unofficial sqlcipher builds changed name from "sqlcipher" to "e_sqlcipher". Thus, the new package name for this bundle is SQLitePCLRaw.bundle_e_sqlcipher.

  3. Your app-level project must have only one of the SQLitePCLRaw bundle packages. If you take a dependency on sqlite-net-pcl or Microsoft.Data.Sqlite, then you inherit a reference to a bundle. If you then add bundle_e_sqlcipher, now you have two bundles. and things will break. You can fix this by using sqlite-net-base (instead of sqlite-net-pcl) or Microsoft.Data.Sqlite.Core (instead of Microsoft.Data.Sqlite).

  4. Microsoft.Data.Sqlite 3.x requires SQLitePCLRaw 2.x. Microsoft.Data.Sqlite 2.x requires SQLitePCLRaw 1.x.