jzian
jzian

Reputation: 23

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?

Upvotes: 0

Views: 69

Answers (1)

aybe
aybe

Reputation: 16672

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.

Upvotes: 1

Related Questions