Bug #91165 MySQL connector/net - Entity Data Model Wizard crashes no models are generated
Submitted: 7 Jun 2018 2:55 Modified: 8 Jun 2018 18:43
Reporter: Chris Stevens Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Visual Studio Integration Severity:S1 (Critical)
Version:6.10.7 OS:Windows (Windows 10 latest)
Assigned to: CPU Architecture:Any (i7 4790K)
Tags: Connector/Net, crashes, database, Entity Data Model Wizard, MySQL, no models are generated, Visual Studio 2017

[7 Jun 2018 2:55] Chris Stevens
Description:
MySQL connector/net - Entity Data Model Wizard crashes no models are generated

The issue is with both the Nuget install and MySQL connector/net installer from the website.

The only difference between the Nuget install and MySQL website installer is that the Nuget install crashes immediately when click Next after the select database page.

Whereas the website installer gives a window displaying an issue with Entity Framework 6 being unselectable and only Entity Framework 5 being selectable, but clicking next after this still crashes the window.

Have tried modifying the App.config to no avail.

I found several old posts online with similar issues, but nothing fixed my issue.
https://www.google.co.uk/search?q=mysql+entity+model+data+wizard+crashes

https://stackoverflow.com/questions/43134807/entity-data-model-wizard-closes-after-selecti...

https://github.com/npgsql/npgsql/issues/1445

How to repeat:
1. Install latest MySql.Data.Entity v6.10.7 from Nuget in Visual Studio 2017.
(Also tried latest connector/net DLL's from MySql installer with similar results)
2. Reboot VS.
3. Open VS.
4. Clean and Rebuild solution.
5. RClick folder > New Item... > ADO.NET Entity Data Model > Add.
6. EF Designer from data...
7. select database, yes include, save connection to App.Config as foobar.
8. Next >
Window crashes here and no models are generated.
[7 Jun 2018 6:38] Chiranjeevi Battula
Hello Chris Stevens,

Thank you for the bug report.
I could not repeat the issue at our end using with Visual Studio 2017 and Connector/NET 6.10.7 version.
If you can provide more information, feel free to add it to this bug and change the status back to 'Open'.

Thank you for your interest in MySQL.

Thanks,
Chiranjeevi.
[7 Jun 2018 6:39] Chiranjeevi Battula
Screenshot

Attachment: Bug_91165.PNG (image/png, text), 92.35 KiB.

[7 Jun 2018 6:39] Chiranjeevi Battula
Screenshot

Attachment: Bug_91165_1.PNG (image/png, text), 87.45 KiB.

[7 Jun 2018 6:39] Chiranjeevi Battula
Screenshot

Attachment: Bug_91165_2.PNG (image/png, text), 80.73 KiB.

[8 Jun 2018 18:43] Chris Stevens
Also I can't Open this ticket. I only have Can't repeat or Closed in Status