0
我的应用程序包含2个项目:应用程序(与EXE)和AppLib(具有不同类的库)。我将带有NuGet的SQLite添加到AppLib-Libary中,因为所有的类都是数据库的东西。错误:未找到SQLite.Interop.dll
App
|--App
|--AppLib
该计划是,我的应用程序项目调用和数据库是filles与表。当我建立我的项目时,我的App.exe和AppLib.dll以及所有SQLite-dll被复制到App/bin/Debug。
但是,如果我运行我的程序,我得到的错误,SQLite.Interop.dll丢失。这些DLL存在于AppLib中:
App\AppLib\bin\Debug\x86\SQLite.Interop.dll
App\AppLib\bin\Debug\x64\SQLite.Interop.dll
但它们未被复制到App \ App \ bin \ Debug。
我该如何管理?
PS:我使用Visual Studio 2015年
http://stackoverflow.com/questions/15058048/dll-not-found-error-when-trying-to-use-sqlite-in-c-sharp?rq=1 –
对不起,但这无关紧要与我的问题。添加DLL作为参考是不可能的,并且编码为X86不会帮助ether。 – Daniel
您是否使用此命令安装了SQLite包?:Install-Package System.Data.SQLite(https://www.nuget.org/packages/System.Data.SQLite) –