在AppStart文件夹下的RouteConfig路由配置文件中,做如下修改:
routes.MapRoute(
"Default",
"{controller}/{action}/{id}",
new { controller = "Home", action = "Index", id = UrlParameter.Optional },
new string[] { "Creatunion.Mobile.Controllers" }
);
最后
以上就是幸福乐曲最近收集整理的关于Multiple types were found that match the controller 的全部内容,更多相关Multiple内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复