sqlite3 build automation and packaging
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add stale-bot config Sep 28, 2018
docs/releasenotes
files
test
.gitattributes
.gitignore
.pack-version
.sqlite-version
.travis.yml
README.md
SQLite.nuspec
appveyor.yml
build.cmd
build.ps1
compile.sh
deploy_artifacts.sh
download_artifacts.ps1
test.sh

README.md

libsqlite3-package

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: