Error message when creating new Controller with Entity Framework

Asked

Viewed 84 times

0

I’m new to the ASP.NET MVC and I’m having a problem. When I try to add a new Controller using Entity Framework gives an error saying:

error when running the selected code generator: value -1 is out of the acceptable interval

I Googled and found several people with error while running the code generator, but none equal to the message I got. Someone could help me, please?

I’m using MySQL and installed all possible libraries related to MySQL and Entity Framework of MySQL.

  • Welcome Gustavo. What version of Visual Studio? When you add Controller what settings are you using for scaffolding?

  • I believe the equivalent message for your error in English is: "There was an error running the Selected code Generator: 'The value -1 is Outside the acceptable range..."

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.