I\'m using VS 2010 Premium. I have a MVC4 project using SqlCe 4.0 with a entity framework model.
Model is:
public class ProjectBuild
{
p
I was having this problem when adding a API 2.0 / MVC5 controller with Entity Framework 6 and an MySQL database.
[DbConfigurationType(typeof(MySqlEFConfiguration))]
Comment this class attribute out. Build project. Then adding a controller works for me on MySql.
Uncomment after controller is added and continue as normal.