I am developing a project in Visual Studio 2010 on a 64-bit Windows 7 machine. I have been able to successfully connect to a local MySQL database without any issues.
However, if I try to change the target framework to .NET 3.5, I am having problems referencing the
MySql.Data DLL. I can see it fine when the target framework is .NET 4.0.
Does anyone have any idea why I can't use it with .NET 3.5? Does it have to do with the version of the MySQL connector?
When I try to add a reference 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 most recent version of the MySQL connector and it doesn't say anything about a specific version of the .NET framework.