简体   繁体   中英

Can't load SQLite.Interop.dll when referencing a DLL containing System.Data.SQLite.dll

When I follow the online method

Unable to Load SQLite.Interop.dll

, and modify the attribute of SQLite.Interop.dll as copy. I generate an A.dll and use another B.exe to reference this A.dll, but the project will not be automatically generated SQLite.Interop.dll. Do I need to do anything else?

Use the library the way it's mean to, that is, through its NuGet package:

https://www.nuget.org/packages/System.Data.SQLite

Everything should go smoothly then.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM