I have a simple ASP.NET 3.5 project in c# to test out the code from
This code just uses a couple of files that require a reference to MySQL.
I already installed the MySQL data connector for .Net and already added the reference to that dll to my project.
I already created an "App_Code" folder to my project and placed both files in it.
Also tried changing the property "Build Action" of each file to "Compile".
Anyway, no matter what I do, I get the error below as if I did not have a reference to "MySQL.Data" which I definitely have.
Compiler Error Message: CS0246: The type or namespace name 'MySql' could not be found (are you missing a using directive or an assembly reference?)
Line 4: using System;
Line 5: using System.Data;
Line 6: using MySql.Data.MySqlClient;