0
我有使用SQLite的PC和Mobile應用程序。我已經安裝和使用dll版本1.0.66,當我從http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki更新我的DLL到1.0.85,我可以看到PC程序與SQLite數據庫很好地工作,但緊湊的框架似乎不喜歡它。SQLite Compact框架
我確實添加了System.Data.SQLite,當我嘗試編譯它,我得到
Error 1 The type 'System.Data.Common.DbConnection' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
我沒有刪除和添加System.Data參考,但沒有奏效。我刪除了System.Data.SQLite(1.0.85)並再次添加了引用,但選擇了1.0.66,然後運行。
我真的很困惑,爲什麼我不能使用reference/dll的最新verion?我是否必須始終在緊湊框架上使用舊版本?
感謝您的任何幫助。
非常感謝。我從來沒有想過緊湊的框架組件會有所不同。 – mesutuk