Unable to load SQLite.Interop.dll
|User & Date:||anonymous 2016-05-02 19:53:46|
- Change foundin to "1.0.101"
- Change icomment to:
I have a small C# WinForms app developed using Visual Studio Community 2015 on Windows 8.1 on a 64-bit computer. My VS project properties target .Net Framework 4.5.2 and Any CPU | Prefer 32-bit.
I used NuGet Package Manager to install Entity Framework 6.3.1 and System.Data.SQLite 1.0.101 (which installed System.Data.SQLite, System.Data.SQLite.Core, System.Data.SQLite.EF6, and System.Data.SQLite.Linq), though System.Data.SQLite.Core doesn't show in the project references.
The app runs fine in the VS debugger, but the ClickOnce published version gets the error in the title when installed and run on the same computer. I have skeptically tried several fixes I found online [(1) installing System.Data.SQLite.Core.MSIL using NuGet; and (2) manually adding some <PropertyGroup> code to the .csproj file, which may have been removed on Build/Publish] to no avail.
I don't see any references to SQLite.Interop.dll in Solution Explorer, but there are such dlls in both the x86 and x64 Debug folders of the project, though not in the Release folder which is empty. All 3 of the SQLite dlls that are in references have Copy Local = true.
- Change login to "anonymous"
- Change mimetype to "text/x-fossil-plain"
- Change private_contact to "d0d70ab965d130efba02478a74fe781f8b75f0a7"
- Change severity to "Critical"
- Change status to "Open"
- Change title to "Unable to load SQLite.Interop.dll"
- Change type to "Incident"