System.Data.SQLite

Login
This project makes use of Eagle, provided by Mistachkin Systems.
Eagle: Secure Software Automation
Overview

Artifact ID: f30c91203e89693b5ffcb228f3af624d9ea4944f
Ticket: b07e6f8ae48cb3a3a34f0fe8b4f91e051bf6a76b
Could not load file or assembly 'System.Data.SQLite, Version=1.0.109.0
User & Date: anonymous 2018-08-30 14:31:01
Changes

  1. icomment:
    I cannot load System.Data.SQLite, Version=1.0.109.0 when trying to run console NET CORE 2.0 application.
    System.Data.SQLite, Version=1.0.109.0
    
    using (SQLiteConnection connection = new SQLiteConnection("***"))
                {
                    connection.Open();
    
                    var keyCommand = connection.CreateCommand();
                    keyCommand.CommandText = "select count(*) from Config";
                    var res = keyCommand.ExecuteScalar();
                    Console.WriteLine($"Res = {res}");
                }
    
    I have tried to add System.Data.SQLite or System.Data.SQLite.Core from nuget but nothing good happens. 
    If I create a windows only .net framework 4.7.* application everything works fine. But I see that on .net framework I have x86 and x64 folder with SQLite.Interop.dll and I don't have this library on NET CORE.
    Maybe it is the reason why I my program doesn't work? How can I fix this? Where can I find the interop library for NET CORE and how can I make my program run on NET CORE?
    
    P.S.: I tried copying System.Data.SQLite.dll to output directory but have no result!
    
  2. login: "anonymous"
  3. mimetype: "text/x-fossil-plain"
  4. severity changed to: "Critical"
  5. status changed to: "Open"
  6. title changed to:
    Could not load file or assembly 'System.Data.SQLite, Version=1.0.109.0
    
  7. type changed to: "Incident"