Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I make SQLite work on Windows 10?

Yo,

So I've been developing a Universal Windows Store app in Visual Studio 2013 on one machine, and wanted to continue developing it on an another machine running Windows 10 Technical Preview.

The problem is that in Visual Studio 2015 Preview there is a new C++ Redistributable package version (2015), and the latest SQLite requires version 2013, so that particular reference is missing. I can build the project, it deploys successfully, but there is an exception saying it can't load sqlite3.dll. I'm assuming this is because of the missing Visual C++ Redistributable Package 2013. I tried downloading it, but the entry is still missing from the Add reference dialog under Extensions, where it is seen on VS 2013.

Any experience of making it work? Any insider info on when SQLite will work for Windows 10?

Cheers

like image 953
user1930132 Avatar asked Feb 26 '15 09:02

user1930132


People also ask

How do I open SQLite in Windows 10?

Open a command prompt (cmd.exe) and 'cd' to the folder location of the SQL_SAFI. sqlite database file. run the command 'sqlite3' This should open the SQLite shell and present a screen similar to that below.

Does SQLite work on Windows?

The SQLite project provides a simple command-line program named sqlite3 (or sqlite3.exe on Windows) that allows the user to manually enter and execute SQL statements against an SQLite database or against a ZIP archive.

How do I run a SQLite browser on Windows?

In Windows the installation of DB Browser does not create a desktop icon. To explicitly launch the application after installing it, use the windows button (bottom left of screen) and type in 'DB Browser' in the search bar and selecting the application when it appears.


2 Answers

Yesterday I blogged about how to get SQLite working with Windows 10 Universal apps

It's really simple and comes down to using a pre-release version of SQLite Visual Studio extension, and then just using whatever library or ORM you used before.

Note that Windows 10 Universal apps will also be capable of using Entity Framework 7, which can be used with almost any DB provider including SQLite.

EDIT: The Visual Studio extension is not in pre-release as of build 10240.

like image 92
Igor Ralic Avatar answered Sep 21 '22 00:09

Igor Ralic


SQLite for Universal App Platform is now available as pre-release

Sqlite download page

like image 20
DobriBala Avatar answered Sep 17 '22 00:09

DobriBala