Trying to do
MySQLConnection connection = new MySqlConnection(connectionString.ToString());
try {
// this is where it screws up
connection.Open();
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
...results in an error: "Reference to type 'Component' claims it is defined in 'System', but it could not be found."
I already have have references to MySQL.Data and System.Data.
What can I do to fix this?
Thanks in advance :))