The problem was choosing the type of project. I choose the Empty project , which targets the new Unified API . The package does not require libraries for this SQLiteNetExtensions project, such as SQLite.Net.Platform.Generic .
To solve this problem, you can choose a project aimed at the Classic API (for this project SQLiteNetExtensions contains SQLite.Net.Platform ) or create a Unified API project and manually add SQLite.Net.Platform dlls to the Recommendation after adding the SQLiteNetExtensions package.
Although, I'm not sure why these .Platform libraries .Platform included in the SQLiteNetExtensions package for the Classic API , and not for the Unified API
Here's how it works in my project:
dbConnection = new SQLiteConnection(new SQLite.Net.Platform.Generic.SQLitePlatformGeneric(), databasePath);
voytek
source share