Bug #47048 Errors when loading and building C/NET source from MySQLClient-mono.sln on Linux
Submitted: 1 Sep 2009 16:48 Modified: 18 Sep 2009 12:53
Reporter: Tony Bedford Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S3 (Non-critical)
Version:6.1.1 OS:Linux (Ubuntu 9.04)
Assigned to: Tony Bedford CPU Architecture:Any
Tags: Connector/Net, linux, Mono Develop, Source Code, ubuntu

[1 Sep 2009 16:48] Tony Bedford
Description:
My Setup:
Ubuntu Linux 9.04
Mono Develop 2.0
Mono CLR 2.0.1 

Connector/NET source taken from 6.1 trunk on Launchpad 

When loading the MySQLClient-mono.sln file included with the Connector/NET source the following error occurs:

/home/tbedford/connector-net-src/6.1/MySQLClient-mono.sln(22):
Unsupported or unrecognized project: '/home/tbedford/connector-net-src/6.1/Installer/Installer.wixproj'

In order to work around this error I needed to modify the MySQLClient-mono.sln file. I will attach my modified file. The modified file was able to load into Mono Develop without error. 

However, when building the solution the following error occurred:

/home/tbedford/connector-net-src/6.1/MySql.Data/Provider/Source/Connection.cs(280,46): error CS0115: `MySql.Data.MySqlClient.MySqlConnection.DbProviderFactory' is marked as an override but no suitable property found to override

How to repeat:
1) On Ubuntu Linux install Mono Develop 2.0

2) Checkout the 6.1 Connector/NET source code from Launchpad

3) Attempt to load the MySQLClient-mono.sln file

4) Edit to solution file (or load the one provided)

5) Attempt to build the solution

Suggested fix:
Not sure. Some feedback on exactly what tools and version of tools are required to build the source would be very useful. This did not appear to be in the release notes.
[1 Sep 2009 16:49] Tony Bedford
The modified MySQLClient-mono.sln solution file

Attachment: MySQLClient-mono.sln (, text), 21.92 KiB.

[15 Sep 2009 0:37] Reggie Burnett
fixed in 6.0.5, 6.1.3, and 6.2+
[18 Sep 2009 12:53] Tony Bedford
An entry was added to the 6.0.5, 6.1.3, and 6.2.0 changelogs:

When loading the MySQLClient-mono.sln file included with the Connector/NET source into Mono Develop, the following error occurred:

/home/tbedford/connector-net-src/6.1/MySQLClient-mono.sln(22):
Unsupported or unrecognized project:
'/home/tbedford/connector-net-src/6.1/Installer/Installer.wixproj'

If the file was modified to remove this problem, then attempting to build the solution generated the following error:

/home/tbedford/connector-net-src/6.1/MySql.Data/Provider/Source/Connection.cs(280,46):
error CS0115: `MySql.Data.MySqlClient.MySqlConnection.DbProviderFactory' is marked as an
override but no suitable property found to override