mysql - cannot add entity data model (EF6) -
Has anyone tried to use ATIT Framework 6.1.1 in late new project with MySQL? My point is that whenever I try to add an entity data model, I get this error message every time:
"Your project unit references the latest version of the framework ; Nevertheless, an entity framework database provider could not find this connection to your data connection compatible with it. Exit this wizard, install a compatible provider, and do this before performing your Rebuild the project "
I am using MySQL Server 5.6 21 plus I have both mysql-connector-net-6.9.4 and mysql-for-visualstudio-1.2.3 installed. Along with those people, I have installed all MySQL NuGet packages developed by Oracle. But whenever I rebuild the application, everything still fails.
Development Environment Win 8.1 Pro VS-2013 Pro Net Framework 4.5.1 EF 6.1.1.0 is on MySQL Local Host.
This is the answer that used to work for me, however, after following those instructions, the dialog box disappears altogether. Either way, I can not update the model from the database, that is actually scratched. I can not even make it to start with
I find it strange that in the old current project, I have been able to successfully work with EF 6; I removed ADMX and tried to add it again, but then it tells me the same error message.
App.config Code:
& lt; Configuration & gt; & Lt; ConfigSections & gt; & Lt ;! - For more information about entity framework configurations, go to http://go.microsoft.com/fwlink/?LinkID=237468 - & gt; Visit & Lt; Section Name = "Antenna Framework" type = "System.Data.in.te.INNAL.confifffile.EntitieFileWriter Description, Entity Framework, Version = 6.0.0.0, Culture = Neutral, Public Key Token = B77A5C 561934A090" Requirements = "False" /> & Lt; / ConfigSections & gt; & Lt; Startup & gt; & Lt; Supported serial version = "v4.0" sku = ".NETFramework, version = v4.5" /> & Lt; / Startup & gt; & Lt; EntityFramework & gt; & Lt; Providers & gt; & Lt; Provider invariantName = "MySql.Data.MySqlClient" type = "MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6" /> & Lt; / Providers & gt; & Lt; DefaultConnectionFactory type = "MySql.Data.Entity.MySqlConnectionFactory, MySql.Data.Entity.EF6" /> & Lt; / EntityFramework & gt; & Lt; System.data & gt; & Lt; DbProviderFactories & gt; & Lt; Remove invariant = "MySql.Data.MySqlClient" /> & Lt; add name = "MySQL Data Provider" invariant = "MySql.Data.MySqlClient" Description = ".Net Framework data provider for MySQL" type = "MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version = 6.9.3.0, Culture = Neutral, public token = c5687fc88969c44d "/> & Lt; / DbProviderFactories & gt; & Lt; /system.data> & Lt; / Configuration & gt;
What is the upgrade of the system breakers packages? Or it is something else I'm missing ... which has been successful in doing this recently, I would like to know how you did it. Any solutions?
It seems that the problem was with the new 6.9.4 connector. I have no clue, but when I MySQL .net connector downgraded to 6.8.3, so everything was just like that as it had begun to work. It wants to tell me honestly, I will release some highly doubt that unchecked in Oracle Arena, so on earth how they set it up, I wonder.
Comments
Post a Comment