Visual Studio 2013 say me Entity framework that the provider of SQLite is not found

不羁的心 提交于 2019-12-11 08:19:08

问题


I had a project that it uses entity framework 5 and SQLite version 1.0.90.0. This project works fine. However now there are the version 1.0.91.0 of SQLite that allows to use EF6 so I would like to use it.

I hava had installed the version 1.0.90.0 that install the design components in visual studio. I did search for unistall it and install the new version, but I don't find the way to do it, so I install the new version directly.

Later I delete all the references in my project of EF 5 and SQLite 1.0.90.0 and delete in my appconfig all the configuration.

Later I went to the nuget manager and I istall the SQLite v1.0.91.0. This detects that I need to install EF6 and install it, the version 6.0.2 of EF and add into the appconfig the provider and factory. Also add the references to the dlls in the project.

It seems that all is ok, burn when I go to create the edmx model, in the wizzard, I have only one option in the EF selection, the versión 6, but this is in gray (disabled) because it says that I have the last versión of EF but there are not a database provider compatible with this version of EF.

Have I done something wrong? How can I use SQLite with EF6?

Thanks.

来源:https://stackoverflow.com/questions/21823719/visual-studio-2013-say-me-entity-framework-that-the-provider-of-sqlite-is-not-fo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!