I'm trying to add an edmx Entity model to my C#/Web Project in Visual Studio 2013. My problem is that the file is not created.
I do the following steps:
No edmx file is created. (although it works with SQL Server, but not for MySQL)
I have Entity Framework 6.1.2
installed, MySql.Data
, MySql.Data.Entities
, MySql.Data.Entity
, MySql.Web
-- all installed.
I also rebuilt the project before trying to add an entity model file.
I've installed the latest MySQL package with the latest .NET connector
.
Running: Visual Studio 2013 on Windows 7.
Any ideas how to solve this?
I solved this issue by following some steps below:
Uninstall MySql.Data.Entities
from Nuget by using command below in Package Manager Console:
Uninstall-Package MySql.Data.Entities
Add project reference to the latest MySql.Data.Entity.EF6.dll
from your MySql connector installation path at: C:\Program Files (x86)\MySQL\MySQL Connector Net 6.9.8\Assemblies\v4.5