I am trying to create a table using the latest version of sqlite-net-pcl nuget package
var db = new SQLiteAsyncConnection("data.db");
await db.CreateTableAsync<Site>();
The CreateTableAsync call throws the following exception:
System.MissingMethodException: 'Method not found: 'System.String SQLitePCL.raw.sqlite3_column_name(SQLitePCL.sqlite3_stmt, Int32)'.'
Here is the Site class
public class Site
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
public String Name;
public String PriceCssSelector;
public String URLRegex;
public Site()
{
}
}
I tried downgrading to the latest stable version of sqlite-net-pcl package.