Inheritance security rules violated by type: 'MySql.Data.Entity.MySqlEFConfiguration'

后端 未结 7 2054
滥情空心
滥情空心 2020-12-14 02:41

I\'ve created an asp.net web application which should connect to a mysql database.

I´m using entity framework 6 with an ado.net entity data model. I´ve also followed

7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-14 02:54

    I got the same issue after upgrading the MySql NuGet packages from 6.9.8 to 6.10.6 in VS 2017 Community. I followed the accepted answer's instructions and downgrading back to 6.9.x fixed it. Upon futher investigation, Oracle has fixed the bug in the upcoming 6.10.7 release (https://bugs.mysql.com/bug.php?id=89134).

    In short, until 6.10.7 is released, downgrade back to 6.9.x! I reverted back using the Nuget package manager and didn't have to change anything else to make it work.

提交回复
热议问题