You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eric Sink edited this page Sep 1, 2020
·
1 revision
SQLitePCLRaw 2.x does not call sqlite3_win32_set_directory() whereas 1.x did. On UWP, it is likely that you will need to add something like the following code to your app init:
var rc = SQLitePCL.raw.sqlite3_win32_set_directory(
1, // data
Windows.Storage.ApplicationData.Current.LocalFolder.Path
);
// TODO check rc for errors
rc = SQLitePCL.raw.sqlite3_win32_set_directory(
2, // temp
Windows.Storage.ApplicationData.Current.TemporaryFolder.Path
);
// TODO check rc for errors