Hi I am continuing to enslave the MVC 2 thing: Areas...
Now I have two controllers with the same name (HomeController) in the main Controllers folder and in one of the Areas. Both have different namespaces so... theoretically should coexists, but they don't. The error is:
The controller name 'Home' is ambiguous between the following types:
Namespace.HomeController
Namespace.Areas.AreaName.Controllers.HomeController
This is not related to Home controller only (special one?), but applies to any pair in any areas.
How to achieve the coexistence of the same-name-controllers within different areas?
Thanks for your time :)
EDIT: It is okay for same controller name WITHIN different areas: registering routing with namespace solves the problem (thanks to Scott's Allen article ).