Visual Studio C# - SQLite.Interop.dll not found

后端 未结 8 2258
忘了有多久
忘了有多久 2020-12-06 03:22

I am currently trying to create with Visual Studio a C# application working with SQLite. I installed SQLite for my program with NuGet and three references appeared in the So

8条回答
  •  忘掉有多难
    2020-12-06 03:40

    SQlite.Interop is not referenceable, you have to:

    1. In your VS project Add Existing File: Sqlite.Interop.dll actual location is .\bin\Debug\x86 or \bin\Debug\x64

    2. Select properties and set Compilation Action in "Content" and copy to the output directory = "Always Copy"

    3. Rebuild

提交回复
热议问题