Ticket Hash: | b4267ee3575bce3f4d7d8ed61f583064c16962a4 | ||
Title: | The DbCommand and DbConnection implementation in the assembly System.Data.SQLite could not be found | ||
Status: | Closed | Type: | Incident |
Severity: | Important | Priority: | Medium |
Subsystem: | NuGetPackage | Resolution: | Duplicate |
Last Modified: |
2018-09-02 17:53:17 6.70 years ago |
Created: |
2018-08-30 09:17:17 6.71 years ago |
Version Found In: | 1.0.109.1 |
User Comments: | ||||
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 1.0.109.1 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 (v1.0.109.1) which is compatible with .net core 2.0 mistachkin added on 2018-09-02 17:53:17: Duplicate of [67d10c4262d45d26].
|