I have an existing WebForms project to which I'm adding MVC pages. I created an MVC project and copied the project type guids.
It works fine, but I can't get Visual Studio to display the "Add Controller" or "Add View" wizards on my controllers and views directories (they're not /Controllers
and /Views
, they're in /Foo/Controllers
and /Foo/Views
).
Is it possible to enable the wizards?
Best Answer
For MVC 3, ProjectTypeGuids should look like the following:
(See Upgrading an ASP.NET MVC 2 Project to ASP.NET MVC 3)