Bug #46378 Connecter/.NET fails to build on mono 2.4
Submitted: 24 Jul 2009 18:49 Modified: 27 Aug 2009 6:49
Reporter: Matt McClellan Email Updates:
Status: No Feedback Impact on me:
None 
Category:Connector / NET Severity:S1 (Critical)
Version:6.0.4 OS:Linux (Ubuntu 9.04)
Assigned to: Assigned Account CPU Architecture:Any

[24 Jul 2009 18:49] Matt McClellan
Description:
Connector/NET fails to build in MonoDevelop 2.0 using Mono 2.4:

[Task:File=, Line=0, Column=0, Type=Error, Priority=Normal, Description=`1591 1699' is not a valid warning number(CS1904)]
[Task:File=/home/mcc/downloads/mysql-connector-net-6.0.4/MySql.Data/Provider/Source/cf/BufferedStream.cs, Line=152, Column=30, Type=Error, Priority=Normal, Description=`MySql.Data.Common.BufferedStream.Seek(long, System.IO.SeekOrigin)': cannot override because `System.IO.Stream.Seek(long, int)' is not a method(CS0505)]
[Task:File=/home/mcc/downloads/mysql-connector-net-6.0.4/MySql.Data/Provider/Source/common/SocketStream.cs, Line=87, Column=38, Type=Error, Priority=Normal, Description=`MySql.Data.Common.SocketStream.Seek(long, System.IO.SeekOrigin)': cannot override because `System.IO.Stream.Seek(long, int)' is not a method(CS0505)]
[Task:File=/home/mcc/downloads/mysql-connector-net-6.0.4/MySql.Data/Provider/Source/CompressedStream.cs, Line=281, Column=30, Type=Error, Priority=Normal, Description=`MySql.Data.MySqlClient.CompressedStream.Seek(long, System.IO.SeekOrigin)': cannot override because `System.IO.Stream.Seek(long, int)' is not a method(CS0505)]
[Task:File=/home/mcc/downloads/mysql-connector-net-6.0.4/MySql.Data/Provider/Source/Types/MySqlDateTime.cs, Line=592, Column=46, Type=Error, Priority=Normal, Description=`System.IConvertible.GetTypeCode' in explicit interface declaration is not a member of interface(CS0539)]
[Task:File=/home/mcc/downloads/mysql-connector-net-6.0.4/MySql.Data/Provider/Source/zlib/ZOutputStream.cs, Line=228, Column=46, Type=Error, Priority=Normal, Description=`zlib.ZOutputStream.Seek(long, System.IO.SeekOrigin)': cannot override because `System.IO.Stream.Seek(long, int)' is not a method(CS0505)]
[Task:File=/home/mcc/downloads/mysql-connector-net-6.0.4/MySql.VisualStudio/Properties/Resources.resx, Line=0, Column=0, Type=Error, Priority=Normal, Description=Error: Invalid ResX input.
Position: Line 1058, Column 5.
Inner exception: Could not find file "/home/mcc/downloads/mysql-connector-net-6.0.4/MySql.VisualStudio/Properties/..\Resources\PackageLoadKey.txt".
]
[Task:File=/home/mcc/downloads/mysql-connector-net-6.0.4/MySql.Data/Provider/Properties/Resources.Designer.cs, Line=24, Column=29, Type=Warning, Priority=Normal, Description=The type `System.Runtime.CompilerServices.CompilerGeneratedAttribute' conflicts with the imported type `System.Runtime.CompilerServices.CompilerGeneratedAttribute'. Ignoring the imported type definition(CS0436)]

How to repeat:
Unzip 6.0.4 source distribution. Load MySQLClient.sln in MonoDevelop. Hit F8 to build solution.
[27 Jul 2009 6:49] Tonci Grgin
Hi Matt and thanks for your report.

I do agree with your private comment (which you can un-private if you wish) but what would be an alternative? Mono project waiting on us, or us waiting on Mono? I do not think it's good solution. Microsoft is setting pace here and we should strive to follow up. In any case, one can always use older c/NET branch.

So, what should I do with this bug report? I do not think I can set it to verified as it really doesn't appear to be our bug...
[27 Aug 2009 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".