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 ?
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 ?