c# - Entity Framework's Entity Data Wizard Crashes When Connecting to MySQL Database -
i attempting create entity data model using wizard reverse engineer existing mysql database. choose data connection page of wizard, select existing mysql connection , click next, , wizard crashes. specifically, dialog box disappears without error message or trace. every single time. restarting vs or windows nothing.
i can connect database using server explorer , same connection without problem, i'm confident isn't connection problem.
this in visual studio 2015 updates installed, version 1.2.6 of mysql visual studio, ef 6.1.3, , mysql.data , mysql.data.entity.ef6 versions 6.8.3.0. console application targeting .net framework 4.6.1.
google hasn't revealed useful yet. question here yesterday similar, crashing @ different point , user can't connect using server explorer. seems different situation.
there nothing in windows logs of help.
how can solve problem?
it caused version mismatch.
on system, had mysql connector 6.9.6. issuing command in nuget package manger console:
install-package mysql.data.entity installs version 6.9.8 default. connector must match actual version of nuget package. can download updated version of connector from: https://www.mysql.com/products/connector/
here select "ado.net driver mysql", , download corresponding version (in case 6.9.8). reopen visual studio , wizard not crash. no reboot required.
Comments
Post a Comment