I'm trying to connect to MySQL from VB.Net in console mode. I have installed Connector/NET from MySQL.
When I try to create a MySqlConnection object the VBC compiler reports that MySql.Data.MySqlClient.MySqlConnection is not defined.
All the advice I can find appears to be directed to configuring Projects in Visual Studio but I don't want to use Visual Studio.
For example, there is advice to reference the connector DLL in the Visual Studio Project specification but I don't know how to implement this advice using VB in console mode without Visual Studio. Similarly, there is advice to copy the MySql.Data.dll to the bin directory of the application. I have tried copying MySql.Data.dll from the Connector/NET assemblies directory to the Microsoft.NET\Framework64 directory, but this doesn't help.
I would appreciate any advice.
When I try to create a MySqlConnection object the VBC compiler reports that MySql.Data.MySqlClient.MySqlConnection is not defined.
All the advice I can find appears to be directed to configuring Projects in Visual Studio but I don't want to use Visual Studio.
For example, there is advice to reference the connector DLL in the Visual Studio Project specification but I don't know how to implement this advice using VB in console mode without Visual Studio. Similarly, there is advice to copy the MySql.Data.dll to the bin directory of the application. I have tried copying MySql.Data.dll from the Connector/NET assemblies directory to the Microsoft.NET\Framework64 directory, but this doesn't help.
I would appreciate any advice.