Bug #88544 Could not load file or assembly MySQL.ConnectorInstaller
Submitted: 18 Nov 2017 15:12 Modified: 13 Feb 2018 20:43
Reporter: Gary Hoff Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:6.10.4 OS:Windows (ver 10)
Assigned to: CPU Architecture:Any
Tags: MySQL Web Configuration Tool, Visual Studio

[18 Nov 2017 15:12] Gary Hoff
Description:
In Visual Studio 2017, I'm trying to use the MySQL Web Configuration Tool, I get the following error:

Could not load file or assembly "MySQL.ConnectorInstaller, Version=6.10.4.0 Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.

I have connector/net 6.10.4, MySQL for Visual Studio 2.0.5, MySql.Data 6.10.4, MqSql.Data.Entity 6.10.4, and MySql.Web 6.10.4 installed.

Can't find where to get MySQL.ConnectorInstaller (dll i presume).
Didn't find anything in bug search for MySQL.ConnectorInstaller.
Also see: https://forums.mysql.com/read.php?174,662370,662370

How to repeat:
In Visual Studio 2017, click on "MySQL Web Configuration Tool" icon in Solution Explorer.
[20 Nov 2017 7:14] Chiranjeevi Battula
Hello Gary Hoff,

Thank you for the bug report.
This is most likely duplicate of Bug #82617, please see Bug #82617

Thanks,
Chiranjeevi.
[28 Nov 2017 14:52] Gary Hoff
Is it true that "At present no official provider from MySQL exists for Entity Framework Core which can be used in an ASP.NET Core application"?

please see https://damienbod.com/2016/08/26/asp-net-core-1-0-with-mysql-and-entity-framework-core/.
[28 Nov 2017 16:59] Gary Hoff
I created a new project, asp.net MVC (not core).
I have installed:
Visual Studio 2017 version 15.4.4
MySQL Server 5.5.57

MySQL for Visual Studio 1.2.7
Connector/Net	6.10.4
MySql.Data 6.10.4
MySql.Data.Entity 6.10.4
MySql.Web 6.10.4

Still get the same error when clicking on "MySql Website Configuration" icon in Solution explorer.
[28 Nov 2017 20:15] Gary Hoff
I downgraded MySql for Visual Studio from dev version 2.0.5 to 1.2.7.
I had to apply the registry fix in https://bugs.mysql.com/bug.php?id=85908 for the Installed to recognize VS 2017 as installed.

Now the MySQL Web Configuration Tool is not visible, even though "Tools > Extensions and Updates" shows "MySQL For Visual Studio" version 1.2.7 as install.

How do I get the "MySQL Web Configuration Tool" icon back?
[28 Nov 2017 20:17] Gary Hoff
Forgot to mention that I upgraded to 2.0.5, and that did not help.
[28 Nov 2017 21:23] Gary Hoff
Figured out the missing icon.  You have to click on a MySql data connection in Server Explorer before the icon shows up in Solution Explorer.  After that, you can click on a SQL server database and the icon stays.  Not intuitive, but at least I know how now.
[28 Nov 2017 22:34] Gary Hoff
I figured out the issue.
This configuration WORKS:
   MySQL for Visual Studio 1.2.7
   Connector/Net 6.9.8
   MySql.Data 6.9.8
   MySql.Data.Entity 6.9.8
   MySql.Web 6.9.10 (there is no 6.9.8)

These DO NOT WORK:
   MySQL for Visual Studio 1.2.7
   Connector/Net 6.10.4
   MySql.Data 6.10.4
   MySql.Data.Entity 6.10.4
   MySql.Web 6.10.4

   MySQL for Visual Studio 1.2.7
   Connector/Net 6.9.9
   MySql.Data 6.9.10  (there is no 6.9.9)
   MySql.Data.Entity 6.9.10
   MySql.Web 6.9.10

Somehow the installer should be changed to address this issue.
[28 Nov 2017 23:29] Gary Hoff
Last post - 6.9.8 should be 6.8.8
[13 Feb 2018 20:43] Christine Cole
Posted by developer:
 
Fixed as of the upcoming MySQL Connector/NET 6.10.7 release, and here's the changelog entry:

Attempting to open the MySQL Web Configuration Tool, with MySQL
Connector/NET and MySQL for Visual Studio prerequisites installed
properly, displayed an error message instead of opening the tool.

Thank you for the bug report.
[16 Mar 2018 1:07] paulo paulo
I am having the same issue here, do you know when it will be released this next version?