The below image shows the project structure I am working on:
Inside Areas -> Billing -> Views -> _viewstart.cshtml, I have specified the path to the layout which I want to apply to the entire application but I keep getting the following error:
- Error:
InvalidOperationException: The layout view '~/Views/Shared/_Layout.cshtml' could not be located. The following locations were searched: ~/Views/Shared/_Layout.cshtml
Layout Path
@{ Layout = "~/Views/Shared/_Layout.cshtml"; }