'MySQL connector 6.3.5 with .NET 3.5

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.



Solution 1:[1]

You saw this bug report in relation to your problem? Although initially reported in 6.3.1, it says it got fixed in 6.3.3: http://bugs.mysql.com/bug.php?id=53686

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Luke Hutton