Reputation: 307
I am attempting to write an Azure function and use MySQL but I cannot seem to use the MySQL.Data or MySql.Data.MySqlClient directives. The error I am getting is the following:
The type or namespace name 'MySql' could not be found.
I am not sure what I need to make this work
using MySql.Data;
using MySql.Data.MySqlClient;
Upvotes: 0
Views: 314
Reputation: 222582
This seems to be either Nuget/Project type issue. Try the following,
Check the project or create a new project
Upvotes: 2