I am developing a project in Visual Studio 2010 on a 64-bit Windows 7 machine. I was able to successfully connect to the local MySQL database without any problems.
However, if I try to change the target structure to .NET 3.5, I am having problems referencing the MySql.DataDLL. I can clearly see this when the target environment is .NET 4.0.
Does anyone know why I cannot use it with .NET 3.5? Is this related to the version of the MySQL connector?
When I try to add a link to MySql.Data, I get the following error:
'MySql.Data' or one of its dependencies requires a later version of the .NET framework than the one specified in the project.
I have the latest version of the MySQL connector and it does not say anything about a specific version of the .NET framework.
source
share