The Entity Framework provider type 'MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.EntityFramework, Version=8.0.18.0,

The Entity Framework provider type 'MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.EntityFramework, Version=8.0.18.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' registered in the application config file for the ADO.NET provider with invariant name 'MySql.Data.MySqlClient' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.

=====

项目运行目录下缺少文件“MySql.Data.EntityFramework.dll”,从官网https://downloads.mysql.com/archives/c-net/,下载“MySQL Connector/NET (Archived Versions)”安装包,注意对齐当前mysql版本。下载安装后,在安装目录下找到MySql.Data.EntityFramework.dll,拷贝到程序目录下即可。

 

posted on 2020-08-25 11:13  Shine-Zhong  阅读(1596)  评论(0编辑  收藏  举报

导航