私のアプリケーション(x64)のC#にwin7のVS2013でSQLite3.dllにアクセスする必要があります。SQLite3.dllはVS2013のC#アプリケーションでは使用できませんON 7
PM> Install-Package System.Data.SQLite.x64
Attempting to resolve dependency 'System.Data.SQLite.Linq (≥ 1.0.99.0)'.
Attempting to resolve dependency 'System.Data.SQLite.EF6 (≥ 1.0.99.0)'.
Attempting to resolve dependency 'EntityFramework (≥ 6.0.0.0)'.
'System.Data.SQLite.x64 1.0.99.0' already installed.
My_project already has a reference to 'System.Data.SQLite.x64 1.0.99.0'.
は、私が参照としてこれを追加しました:
は SQLite: sqlite3.dll vs System.Data.SQLite.dll?
から私は
"The sqlite3.dll is unmanaged code containing the databae engine itself and it is embedded as resource inside the managed System.Data.SQLite assembly. "
だから、私はパッケージマネージャからSystem.Data.SQLite.x64をインストールしていることがわかりVS2013。 しかし、私はエラーを得た:
その後An unhandled exception of type 'System.DllNotFoundException' occurred in Devart.Data.SQLite.dll
Additional information: Unable to load DLL 'sqlite3': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
、私はビン/デバッグでSqlite3.dllとSqlite3.defを入れて、コンテンツとしてこれを追加しました http://www.sqlite.org/download.html
からSqlite3.dll(x64の)をダウンロードファイルをコピーし、そのプロパティを "出力する"を "常にコピーする"に変更しましたが、エラーが発生しました。
An unhandled exception of type 'Devart.Data.SQLite.SQLiteException' occurred in Devart.Data.SQLite.dll
Additional information: Assembly that contains embedded dotConnect for SQLite license cannot be used with this application: my_app.exe
次に、Sqlite3.dll(x86)をダウンロードしてx64と同じことをしました。リンクはどちらかの助けにはならない
Additional information: Assembly that contains embedded dotConnect for SQLite license cannot be used with this application: my_app.exe.
、 Could not load file or assembly 'System.Data.SQLite'
任意の提案:同じエラーを得ましたか。ありがとう。
よくある質問 - お手数ですが: – Jeff
問題はSQLiteではありません。この問題は、あなたがSQLiteを持っていることを検出する 'Devart dotConnect'と呼ばれるものですが、何らかの特別なライセンスが必要なようです。 – Cameron
どのようなライセンスが必要ですか?それを得る方法?ありがとう – Lily