Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1447

Which is correct DLL for using MySqlClient (no replies)

$
0
0
I keep getting this error -
The type 'MySql.Data.MySqlClient.MySqlConnection' exists in both 'c:\Users\Upendra\Documents\Visual Studio 2010\Projects\CrosswordMVC\packages\MySQL.NET.6.6.4\lib\net20\MySql.Data.dll' and 'c:\Users\Upendra\Documents\Visual Studio 2010\Projects\CrosswordMVC\packages\MySQL.NET.6.6.4\lib\net20\MySql.Data.CF.dll' C:\Users\Upendra\documents\visual studio 2010\Projects\MySqlMVC\MySqlMVC\Models\BusinessLayer.cs 26 17 MySqlMVC

Which is the correct library to use ?
I had added references to the following only
MySql.Data
MySql.Data.Entity
MySql.Web

Somehow the MySql.Data.CF gets added - is this through the MySql Connector/NET ?
In this case-
how do I reference the MySqlClient class ?
I know one solution is to use fully qualified namespaces, but more importatnt question I need answered is which fully qualified namespace one should I use ?

Viewing all articles
Browse latest Browse all 1447

Trending Articles



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