MySQL Forums
Forum List  »  MySQL for Visual Studio

Re: How to start using Entity Framework 6 with MySQL databases
Posted by: Gabriela Martinez Sanchez
Date: January 18, 2014 10:21AM

Hi Edgar here's the workaround.

On your machine where VS 2013 is installed, VS plugin (1.1.3 GA) and Connector/Net 6.8.3

Note: close all VS instances before doing these steps.

On a Windows Explorer window go to this path or wherever you installed you Connector/net binaries

C:\Program Files (x86)\MySQL\MySQL Connector Net 6.8.3\Assemblies\v4.5\

Copy the file:

MySql.Data.Entity.EF6.dll

And paste it to this folder

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

If it asks you to overwrite it please do so.

You'll need admin rights in order to overwrite the file.

After that you can try again to generate the script for your model, with no issue.

It is important that you have the 1.1.3 version of the VS plugin installed since this workaround is for that.

You can download it only at

http://dev.mysql.com/downloads/windows/installer/

This is the page of the MySQL Windows Installer due that MySQL for VS is only delivered through the installer.

Please let me know if this worked for you.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: How to start using Entity Framework 6 with MySQL databases
3168
January 18, 2014 10:21AM


Sorry, you can't reply to this topic. It has been closed.

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.