Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1447

Migration from mysql-connector-net 6.6.5 to 8.0.18 (no replies)

$
0
0
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?

Viewing all articles
Browse latest Browse all 1447

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>