How to use SQLite in Visual Studio 2017?

CorentinMerit picture CorentinMerit · Jan 25, 2018 · Viewed 34.7k times · Source

I'm using Visual Studio 2017, in UWP project. I installed SQLite Compact Toolbox from NuGet package like this:

  • Microsoft.Data.sqlite / sqlite-net / sqlite-net-pcl / System.Data.SQLite

After that, I still can't add using Microsoft.Data.Sqlite in MainPage.xaml.cs to read values in my table and make a query.

How can I be able to add using Microsoft.Data.Sqlite?

Answer

David Morrow picture David Morrow · Mar 10, 2019

Add SQLite/SQL Server Compact Toolbox from In Visual Studio 2017 Community. Goto Tools - Extensions and Updates - click Online. Search for Sqlite. You should see Sqlite compact toolbox. Click download . Restart visual studio.