I am trying to upgrade one of my plugin from 3.9 to 4.0. In 4.0 version I have successfully installed the plugin. My Plugin has an admin page and the link is also coming properly in admin menu section and getting loaded without admin layout page. Every time I added the admin layout its throwing an error.
Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml";
when using this its saying
An unhandled exception occurred while processing the request.
InvalidOperationException: The view 'Components/AdminLanguageSelector/Default' was not found. The following locations were searched:
Layout = "_AdminLayout";
and when using this saying cannot find "_AdminLayout"
please help me out. Thanks in advance.