Hi,
I have added a new controller, model & a view with the name -'VendorLanding' and added a Route entry under RouteProvider. after the calling the resource from home page. getting below error.
System.InvalidOperationException: 'The view 'VendorLanding' was not found. The following locations were searched:
/Themes/DefaultClean/Views/VendorLanding/VendorLanding.cshtml
/Themes/DefaultClean/Views/Shared/VendorLanding.cshtml
/Views/VendorLanding/VendorLanding.cshtml
Please suggest.
System.InvalidOperationException: 'The view 'VendorLanding' was not found. The following locations were searched: /Themes/DefaultClean/Views/VendorLanding/VendorLanding.cshtml /Themes/DefaultClean/Views/Shared/VendorLanding.cshtml /Views/VendorLanding/VendorLanding.cshtml
Monday, November 25, 2024 5:46:49 PM
do we need refer the new view in any location like -
/Themes/DefaultClean/Views/VendorLanding/VendorLanding.cshtml
/Themes/DefaultClean/Views/Shared/VendorLanding.cshtml
/Views/VendorLanding/VendorLanding.cshtml
to fix the issue. please help for the steps to add new controller, view and model and nay inclusion, I am unable to find the docs for this.
/Themes/DefaultClean/Views/VendorLanding/VendorLanding.cshtml
/Themes/DefaultClean/Views/Shared/VendorLanding.cshtml
/Views/VendorLanding/VendorLanding.cshtml
to fix the issue. please help for the steps to add new controller, view and model and nay inclusion, I am unable to find the docs for this.
0