Bug #70565 Community Edition 5.6 installer installs two different releases of /net dlls
Submitted: 9 Oct 2013 18:04 Modified: 1 Nov 2013 19:07
Reporter: Dave Starr Email Updates:
Status: Duplicate Impact on me:
None 
Category:Connector / NET Severity:S3 (Non-critical)
Version:5.6 OS:Windows (Win 7 Pro)
Assigned to: Assigned Account CPU Architecture:Any
Tags: Connector/Net, MySql.Data

[9 Oct 2013 18:04] Dave Starr
Description:
I have installed the Communit Edition 5.6 on a Windows 7 platform with Visual Studio 2012, new installs for both. One of the biggest issues I have had in getting going is that there were two differenct versions of the DLL's installed for MySql.Data (6.6.5, 6.7.4), MySql.Data.Entity (6.6.5, 6.7.4), and MySql.Web (6.6.5, 6.7.4). The installer updated to machine.config file in the IIS directory to reference a mix of these such that I must reference MySql.Data 6.6.5, MySql.Data.Entity 6.7.4 and MySQL.Web 6.6.5 for tutorials to compile.

The straight connector/Net installer does the same thing. 

Please correct to install the save version in all locations which includes the /net asseblies folders, visual studion 1.0.2 folders and one other location I can't remeber at the momment.

If I don't reference the correct version in my builds I get a manifest doesn't match refereneced asseblies error at runtime.

How to repeat:
Install on clean machine, no upgrade.

Suggested fix:
Update the installer to use the same versions at all locations.
[1 Nov 2013 19:02] Fernando Gonzalez.Sanchez
Hi,

Thanks for your report.

Effectively, MySql for Visual Studio (M4VS) 1.0 uses Connector/NET 6.6.x, instead of Connector/NET 6.7.x (this is because at the time M4VS GA was release, the Connector/NET 6.7.x was still not GA approved).

However there are some wrongs to fix (like Connector/NET must install in GAC and machine.config, not M4VS).

These fixes have been rolled out in M4VS 1.1.0 and Connector/NET 6.8.0, and will appear in the MR for M4VS 1.0.x and Connector/NET 6.7.x.

For more details, http://bugs.mysql.com/bug.php?id=69760.
[1 Nov 2013 19:07] Fernando Gonzalez.Sanchez
This is duplicate and part of fix for #69760.

Bear in mind that M4VS 1.0.3 will keep shipping Cnet 6.6.x and M4VS 1.1.x will keep shipping Cnet 6.7.x.

But as part of the fix, M4VS will be fixed to supersede its bundled Connector/NET with any version installed later (so any M4VS will work with Cnet 6.7.x, Cnet 6.8.x or any other Cnet installed afterwards).