Quantcast
Viewing all articles
Browse latest Browse all 7241

MySQL reference not found (1 reply)

I used MySQL with VS some years ago, so apologies for that question. Is the following, I have:

win7 x64
VS 2010

and installed connector 6.3.6 and the community server. After using the GUI looks like mysql server is running ok.

I was surprised not founding mysql file to copy, so when I took a look at documentation I found that it's integrated on VS 2010

Just for test I created a new website with .NET 4.0 (also tried 3.5), on server explorer I added the connection (all ok) but when I compile I get:


Error 1 The type or namespace name 'MySql' could not be found (are you missing a using directive or an assembly reference?)

at

using MySql.Data.MySqlClient;
using MySql.Data.Types;

How can I solve this problem?

Viewing all articles
Browse latest Browse all 7241

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>