我在使用 MySQL 5.6.17 的 Visual Studio 2013 Ultimate 中有以下项目
- 新项目:ASP.net webforms 应用程序
- NuGet Entity Framework
- NuGet MySql.ConnectorNET.Entity
- 添加 ADO.NET 实体数据模型
- 数据库中的 Code First
- 选择数据连接
- 选择您的版本(选择 Entity Framework 6.0 并变灰)。
这给出了以下错误信息:
Your project references the latest version of Entity Framework; however an Entity Framework database provider compatible with this version could not be found for your data connection.
错误的原因是什么,我该如何解决?
最佳答案
安装最新版本的 MySql 或者 较低版本的 Entity Framework 安装包 EntityFramework - 版本 5.0.0
关于c# - 找不到 Entity Framework 6 的兼容提供者,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23819738/