I can’t add a Ference

Asked

Viewed 49 times

3

I am doing a project for the school in C#, with database and Mysql. When I try to add the extension Mysql.Data it simply is not added.

I’ve installed Mysql Connector, I’ve seen hundreds of tutorials but when I add the extension as a reference it is checked but not added. Just go back in Add - Reference - Extensions and she’s not marked again.

Can someone help me?

  • How did you install? You can tell which version of the . NET framework of your project?

1 answer

1

The dll version is incompatible with the . Net Framework version of your project. This can happen if you are trying to add a generated dll in version 4.0 of . Net framework in a project that uses version 2.0.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.