MySQL Forums
Forum List  »  MySQL for Visual Studio

2017 and Entity Framework edm generation with 1.2.8 and 8.0.13
Posted by: Kyle Watson
Date: November 18, 2018 01:55PM

I've been attempting to generate the edm through visual studio 2017 without success.

* installed Visual studio 2017 version 1.2.8
* install .net connector 8.0.13


--> Add new project windows desktop library
--> Edit app.config as directed here: https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework60.html
--> Add new item; ADO.net entity data model
--> Select ef designer from database
--> select connection (oracle mysql connector)

The choose version screen always errors out in some way. I've tried several permutations here are some of the errors:

* Unable to cast mysql.data.mysqlclient.mysqlproviderservices to type system.data.common.dbproviderservices

* Your project references the latest version of entity framework; however...


I've noticed that Visual Stuidio has installed here:

C:\Program Files (x86)\Microsoft Visual Studio 2017\Community\Common7\IDE\PrivateAssemblies

version 6.10.7 for Mysql.data.entity, mysql.data and mysql.web. Which is not the latest versions.

Any help to get the connect to generate the edm would be appreciated.

I am using

*visual studio 2017: 15.9.1
*Mysql for visual studio 1.2.8
*Connect/net version 8.0.13
* All X86

Options: ReplyQuote


Subject
Views
Written By
Posted
2017 and Entity Framework edm generation with 1.2.8 and 8.0.13
706
November 18, 2018 01:55PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.