libsqlite3 package

sqlite3 build automation and packaging. [Archived - see README]

1
2
Shell

libsqlite3-package [Archived]

This project has been archived because I no longer maintain or support this package. Please reach out to me https://github.com/natemcmaster/blog if you have questions or concerns.

Travis build status
AppVeyor build status

master branch
dev branch

Automates creating a NuGet package of SQLite3 native library for macOS, Linux, Universal Windows apps, and Windows.

Releases are published to https://www.nuget.org/packages/SQLite

Nightly builds are available on MyGet: https://www.myget.org/gallery/libsqlite3

Usage

.NET Framework and .NET Core apps can install this package and use SQLite via the C API and P/Invoke.
The installation of the package ensures that “sqlite3” is always available as a native component.
See https://www.sqlite.org/c3ref/intro.html for full reference on the SQLite C API.

Example:

public static class NativeMethod
{
     [DllImport("sqlite3", CallingConvention = CallingConvention.Cdecl)]
     public static extern IntPtr sqlite3_libversion();
}
string version = Marshal.PtrToStringAnsi(NativeMethod.sqlite3_libversion());

Used by: