System.Data.SQLite
View Ticket
Not logged in
Ticket UUID: a30ab3ca694b2bbe9ca3af16c8ba4b7e5b685526
Title: Can't load System.Data.SQLite.SQLiteProviderFactory
Status: Closed Type: Incident
Severity: Important Priority: Medium
Subsystem: LINQ Resolution: Need_More_Info
Last Modified: 2015-12-05 01:03:51
Version Found In: 1.0.98.0
User Comments:
anonymous added on 2015-08-20 15:43:31:
This issue: http://system.data.sqlite.org/index.html/info/2be4298631c01be9 is still happening in version 1.0.98.0 in a WPF project using Visual Studio 2013.
I am new in sqlite, what I did is: get SQLite [System.Data.SQLite (x86/x64)] from Nugget for .NET framework v4.5.1.

App configuration is default. I just modify connection string datasource.
When I perform a context.SampleEntity.OrderBy(c => c.Id).Load(); I get the error that can't load System.Data.SQLite.SQLiteProviderFactory (I t hink it should be System.Data.SQLite.EF6.SQLiteProviderFactory).

It was a clean new vs2013 update 4 wpf project.

To solve it I did what I read in the old ticket, set as target as .net framework 4.0, redownload the nugget package, and then set it back to 4.5.1
I am making this ticket because the old one is "closed" as "fixed", it is not. Trust me.

mistachkin added on 2015-08-20 16:59:16:
Are you trying to use the design-time components?  Also, there is no class named
"System.Data.SQLite.SQLiteProviderFactory".  I think you might want to use the
name "System.Data.SQLite.SQLiteFactory" instead.