Reputation: 142
When I create a new action method and right click it doesn't show me the "add view" option, it shows me the "go to view" option and when I click that it tells me "unable to find a matching view".
Creating a view on its own with a name that fits the action method works but I want to create strongly typed views and as far as I know I can't do that without the wizard thing that opens when you create view from an action method.
public ActionResult Login()
{
return View();
}
Like this is how the most basic action method looks like right?
Upvotes: 1
Views: 2537
Reputation: 394
As stated by @Scotch comment on the question, it might be that you're in debug mode (f5) so stop it (shift+f5) before right click -> add
Upvotes: 1