Migration from mysql-connector-net 6.6.5 to 8.0.18
Posted by: Анатолий Терентьев
Date: January 21, 2020 05:57AM

Dear Gurus!
In previous years, a number of services have been developed that work with mysql-connector-net 6.6.5.Now I switched to VS 2019, using Blazor. To work with EF Core, I need to do scaffolding in new programs, and for this I install mysql-connector-net 8.0.18. In this regard, a few questions. Old versions of programs, if I understand correctly, must be rebuild to a new connector. Both versions of the connector will not work at the same time.
I began to do so. Install mysql-connector-net-8.0.18 and mysql-for-visualstudio-1.2.9. When accessing a specific "myobj" context table

using (gpsEntities context = new gpsEntities())
{
List<myobj> lst = context.myobjs.ToList();
}
I get error:
"System.DllNotFoundException
HResult=0x80131524
Message=MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.EntityFramework, Version=8.0.18.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d
Source=MySql.Data"
How to do it right?

Options: ReplyQuote


Subject
Written By
Posted
Migration from mysql-connector-net 6.6.5 to 8.0.18
January 21, 2020 05:57AM


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.