You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you set the siteRootPath on the RazoeViewFormatter, and you have a view with a layout set such as
@{
Layout = "_layout.cshtml";
}
Then the layout doesn't get found as the template engine tries to look in the application directory, rather than the relative directory of where the rendering view is located.
The text was updated successfully, but these errors were encountered:
If you set the siteRootPath on the RazoeViewFormatter, and you have a view with a layout set such as
Then the layout doesn't get found as the template engine tries to look in the application directory, rather than the relative directory of where the rendering view is located.
The text was updated successfully, but these errors were encountered: