Source packages of Connector/Net are available for download from http://dev.mysql.com/downloads/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.sln is available to build the
connector. Click this file to load the solution into Visual
MySqlClient.sln must 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 Build, Build Solution from the main menu to build the solution.
Support for building Connector/Net on Mono/Unix is currently not available.