|Title:||Can't load System.Data.SQLite.SQLiteProviderFactory|
|Last Modified:||2015-12-05 01:03:51|
|Version Found In:||126.96.36.199|
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 188.8.131.52 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.