I don't know why I get this error every time in ASP.NET Core MVC 3.1. I have a view and it's in its place. I only get this error in areas.
InvalidOperationException: The view 'Dashboard' was not found. The following locations were searched:
/Areas/Admin/Views/Home/Dashboard.cshtml
/Areas/Admin/Views/Shared/Dashboard.cshtml
/Views/Shared/Dashboard.cshtml
I resolved this problem by changing the area name from "AdminArea" to "Admin"