Bug #44141 "Add Reference" not showing MySQL.Data
Submitted: 8 Apr 2009 7:54 Modified: 17 Apr 2009 13:07
Reporter: Tonci Grgin Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:6.0.2 OS:Windows (2008x64)
Assigned to: Reggie Burnett CPU Architecture:Any

[8 Apr 2009 7:54] Tonci Grgin
Description:
Create new C# project and click References/Add Reference. MySQL.Data is not shown. This leads to all sorts of problems as you can imagine.

Environment:
  o VS2008Pro on Win2K8x64 box.
  o MySQL connector/NET 6.0.2 full install via MSI (MD5 checksum correct)
  o Plug-in functioning, ie. Server Explorer shows everything just fine from my remote MySQL server 5.1.31 on OpenSolaris x64 box.

Now there appears to be two possible problems:
  o VS2008 Help/About shows .NET FW 3.5 SP1 while c/NET might be registered in 2.0
  o c/NET 5.2.5 on x64 windows box was in "Program Files" while 6.0.2 is in "Program Files(x86)"
--cut--
Microsoft Visual Studio 2008 Version 9.0.30729.1 SP
Microsoft .NET Framework Version 3.5 SP1

Installed Edition: Professional

MySQL Connector/Net   6.0.2
Data design and management tools for MySQL.  Copyright © 2007-2009 MySQL AB
--cut--

Now, only copy of MySQL.Data is in windir\assembly, while none is found in windir\Microsoft.NET (neither in x86 nor in x64, for neither 2.0 nor 3.5 FW).

How to repeat:
-

Suggested fix:
-
[8 Apr 2009 7:58] Tonci Grgin
Same goes for VS2005 on same W2K8x64 box:
Microsoft Visual Studio 2005
Version 8.0.50727.867  (vsvista.050727-8600)
Microsoft .NET Framework
Version 2.0.50727 SP2

Installed Edition: Professional

Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack 1 (KB926601)   
This service pack is for Microsoft Visual Studio 2005 Professional Edition - ENU. 

MySQL Connector/Net   6.0.2
Data design and management tools for MySQL.  Copyright © 2007-2009 MySQL AB
[8 Apr 2009 19:10] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/71674
[8 Apr 2009 19:10] Reggie Burnett
fixed in 6.0.3
[17 Apr 2009 13:07] Tony Bedford
An entry was added to the 6.0.3 changelog:

MySQL.Data was not displayed as a Reference inside Microsoft Visual Studio 2008 Professional.

When a new C# project was created in Microsoft Visual Studio 2008 Professional, MySQL.Data was not displayed when References, Add Reference was selected.
[29 Apr 2009 4:22] Olof Ingare
I just installed version 6.03 in VS20005 and the MySQL.data reference is still missing.
Any workarounds?
[29 Apr 2009 4:27] Olof Ingare
After removing any old references, restart , adding the reference back in it works :)