3
我想使用Zumero Xamarin組件,但我得到一個編譯器錯誤。Zumero Xamarin不會編譯
The type 'System.Data.Common.DbConnection' is defined in an assembly that is not referenced.
我將組件添加到我的項目中,並添加了以下代碼。
using System.Data.SQLite;
而且
string personalFolder = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
string dbName = "pitches.db";
string dbPath = Path.Combine (personalFolder, dbName);
var conn = new SQLiteConnection ("Data Source=" + dbPath);
conn.Open();
conn.ZumeroRegister();
非常感謝Eric!完美工作!你是最棒的! – Bryan