SQLite.Net.Platform for Windows Phone 8.1

2019-06-14 17:31发布

问题:

I can't find any SQLite.Net.Platform library that works with Windows Phone 8.1.

These are not working:
https://www.nuget.org/packages/SQLite.Net.Platform.WindowsPhone8/
https://www.nuget.org/packages/SQLite.Net.Platform.WinRT/
https://www.nuget.org/packages/SQLite.Net.Platform.Generic/
https://www.nuget.org/packages/SQLite.Net.Platform.Win32/

Any workaround?

回答1:

WinRT platform is compatible with Windows Phone 8.1 projects. You can copy the sources to your platform specific project and instantiate the connection using SQLitePlatformWinRT class.