I’m facing an issue while install SQLite.intreop library. I have installed system.Data.SQLite package from Nuget package manager console but SQLite.intreop dll is missing in this package . when tried to install stand-alone SQLite.intreop dll Nuget package manager console gives an error here is the screen shot
Here is the sample code .In this I installed System.Data.SQLite package but when I tried to create table in database it gave “System.Data.SQLite dll not found” although System.Data.SQLite present in references
I am using Visual studio 2019. Interop dll error was not in this sample code,it was in my realTime project.
when I tried to run spicific code block in another sample project it gave this error “Exception thrown: ‘System.DllNotFoundException’ in System.Data.SQLite.dll” in InitializeDatabase method of CreateDatabase class.The Error message was consoled in the catch block you can check that,athough the SQLite pacakge installed in this project
1-First I faced the following Error while converting my existing wpf application code to remObject template for which I Asked you the question
“Reference ‘SQLite.Interop’ could not be resolved for target ‘Echoes’ (Echoes .NET anycpu)"
2- Then I created a new TestCase project from scratch and installed System.Data.SQLite package,to verify weither or not I missed something while converting my WPF application, but this time the error has changed from ““Reference ‘SQLite.Interop’ could not be resolved for target” to “Exception thrown: ‘System.DllNotFoundException’ in System.Data.SQLite.dll”
3- In my next attempt I created another project but this time without the RemObject elements and istalled “System.Data.SQLite package” and surprisingly it is working fine,
so might be i’m missing something while working with RemObject or it has may be a issue with certain libraries like SQLite.
Hope this time I have cleared my points.
I take it your posted test case is supposed to reproduce this second error, then? I’ll check that in a bit (I didn’t try running it, as I was on macOS when looking at this, where I cannot run WPF, and because I was looking for a compile-time error).
When I run the app (my version with the fixed references, as posted above), I get an empty window; nothing happens, but also no exceptions, as far as I can tell. Can you confirm that the your error reproduces with my fixed version of the project (which uses proper NuGet package references)?
yes I found solution file, actually when I extract It, there was not any solution file or project in it ,After open “WEBApplication1.elements” in water. It creates solution file automatically. But your test case didn’t run it gives this error “() Exception processing package reference EntityFramework : ZipEntry::ReadHeader(): Bad signature (0x00905A4D) at position 0x00000000” on build