Изменение пространства имен - найдено несколько типов, которые соответствуют контроллеру с именем «Home»
Я столкнулся со следующей проблемой после изменения пространства имен для моего проекта MVC:
Multiple types were found that match the controller named 'Home'. This can happen if the route that services this request ('{controller}/{action}/{id}') does not specify namespaces to search for a controller that matches the request. If this is the case, register this route by calling an overload of the 'MapRoute' method that takes a 'namespaces' parameter.
The request for 'Home' has found the following matching controllers:
oldns.Controllers.HomeController
newns.Controllers.HomeController
Есть другие ответы на вопросы об этой ошибке, но охватывают другие причины:
Multiple projects Areas