|Title:||The DbCommand and DbConnection implementation in the assembly System.Data.SQLite could not be found|
|Last Modified:||2018-09-02 17:53:17|
|Version Found In:||188.8.131.52|
anonymous added on 2018-08-30 09:17:17:
I am writing a Console App on Net Core 2.0. My App uses NHibernate Fluent to work with SQLite local db. However when running the code below here, I get the following errors: Could not create the driver from NHibernate.Driver.SQLite20Driver The DbCommand and DbConnection implementation in the assembly System.Data.SQLite could not be found. Ensure that the assembly System.Data.SQLite is located in the application directory or in the Global Assembly Cache. If the assembly is in the GAC, use element in the application configuration file to specify the full name of the assembly. I have installed System.Data.SQLite 184.108.40.206 from Nuget. Why do I have the following error? Original post on the stackoverflow: https://stackoverflow.com/questions/51445371/net-core-nhibernate-system-data-sqlite-could-not-be-found NHibernate.Driver.SQLite20Driver has the following code: https://github.com/nhibernate/nhibernate-core/blob/master/src/NHibernate/Driver/SQLite20Driver.cs P.S: everything was working fine with System.Data.SQLite.Core 1.0.108 but it was windows only compatible. How can I make it work with the SQLite dll (v220.127.116.11) which is compatible with .net core 2.0
mistachkin added on 2018-09-02 17:53:17:
Duplicate of [67d10c4262d45d26].