Error while updating Mysql.Data

Asked

Viewed 668 times

2

I upgraded Mysql.Data and Mysql.Data.Entity from version 6.9.9 to version 6.10.4 and started getting the error below :

Inheritance security rules were breached by the type: 'Mysql.Data.Mysqlclient.Mysqlproviderservices'. Derived types shall correspond to the safety accessibility of the base type or be less accessible.

This error occurs when creating the Dbcontext instance

  • I’m Since yesterday fighting with this update, I did not find a way to really fix in Stackoverflow only gringo said that have to downgrade the version. Uninstall Mysql Connector, then install version 6.9.10 Change Nuget packages to this tbm version.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.