I'm using Visual Studio 2013 for web with MVC 5.
When trying to add a new controller to the "Controllers" map in my project, here's what I do: right click controllers, Add, New Scaffolded Item, "MVC 5 controller with views using EE". I fill in the Controller Name, Model class etc.. But the "Add" button is greyed out.
The option to add a new Controller will be grayed out if your project is currently running. Stop execution and the option you describe should become available.
I believe the model needs to be created prior to adding the scaffolding. I bet it works if you pick an existing model.
Add a model class first Add a new scaffolded item Attach the new model class Follow rest of the pop up window and the "Add" button becomes available.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With