Using SQLite-NET with UWP

Kinani picture Kinani · Aug 6, 2015 · Viewed 10.6k times · Source

I downloaded the package from NuGet and still there's no SQLite.cs neither SQLiteAsync.cs added to the project, If SQLite-NET is still not supporting VS 2015 RTM, Any possible alternatives?

Note that I tried SQLite.NET-PCL and still the same problem.

Answer

Igor Ralic picture Igor Ralic · Aug 6, 2015

SQLite.NET-PCL shouldn't add those two classes directly to your project files.

Did you download the right SQLite.NET-PCL via NuGet? (there's a huge mess when you search for SQLite.NET on NuGet so it's easy to get confused and install the wrong one).

The right SQLite.NET PCL library

Did you install the SQLite VSIX package for Universal App Platform development using Visual Studio 2015. Did you add it to your project references?

Have you tried reading my blog post on this topic: Using SQLite in Windows 10 Universal apps?

Everything should work OK with VS 2015 RTM.