【发布时间】:2013-08-02 22:52:36
【问题描述】:
我正在尝试使用 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();
【问题讨论】:
标签: ios sqlite xamarin.ios xamarin zumero