I've been trying to add an EF Model for my MySQL server but couldn't get a chance as it would either close right before choosing the Entity Framework version for my project or give "Your project references the latest version of Entity Framework, howerver, an entity database provider compatible with this version could not be found for your data connection" error and I'm unable to choose the EF 6.x for it.
Versions: Entity Framework 6.2.0, Mysql.Data 8.11.00, Mysql.Data.Entity 6.10.7.0, Connector/Net 8.11.0.0
Here's a gif for the first incident.
Here's a screenshot for the second incident.
So far I've tried:
- Installing Mysql.Data.Entity from NuGet Package Manager and editing the app.config file according to this guide.
- Installing lower versions of Entity Framework and that wouldn't cause an error and I would be able to choose EF 5.x and then the window would close immediately.
- Adding the Mysql.Data, Mysql.Data.EntityFramework references directly from the Connector's directory.
- Installing EF 6 first, Mysql.Data.Entity second and vice-versa.
Unfortunately, none of these worked. I've been told that there was a bug related to this exact error before but they said it's been fixed after the update and I'd be able to use it bug-free if I install the packages from NuGet. I don't know if it's a bug though. Thanks in advance.