Source packages of Connector/Net are available for download from http://dev.mysql.com/downloads/connector/net/.
The file contains the following directories:
Documentation: Source files to build the documentation into the compiled HTML (CHM) format for version 6.9 and earlier, code examples, collection files, and licenses for third-party components.
Samples: Source files for several example applications.
Source\MySQL.ConnectorInstaller: Source files to build the Connector/Net installer program.
Source\MySQL.Data: Source files for the core data provider.
Source\MySQL.Data.Entity: Source files for the Entity Framework.
Source\MySQL.Web: Source files for the web providers, including the membership/role/profile providers that are used in ASP.NET web sites.
Tests: Test cases for Connector/Net.
The following procedure can be used to build the connector on Microsoft Windows.
Navigate to the root of the source code tree.
A Microsoft Visual Studio solution file named
MySqlClient.slnis available to build the connector. Click this file to load the solution into Visual Studio.
MySqlClient.slnmust be compiled with VS 2008, VS 2010, or VS 2012. Also, depending on the version, the dependencies to build it include Visual Studio SDK, NUnit, Entity Framework, and ANTLR Integration for Visual Studio.
Select, from the main menu to build the solution.
Support for building Connector/Net on Mono/Unix is not available.