When adding reference to the MySQL .NET connector I am seeing two entries listed for MySql.Data
one with a runtime version of 4.0.30319 and another with a runtime version of 2.0.50727
Which should I reference? does it make a difference?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If your project targets .NET Framework 4.0, then you’ll want to reference the 4.0 version. Otherwise, use the 2.0 version (even if your project targets 3.5).
You can check the version your project targets by right-clicking the project in Visual Studio and selecting properties.