I am facing this error while compiling nopcommerce default site
"The "RenderBody" method has not been called for layout page "~/Views/Shared/_Root.cshtml" "
any one please help me out.
@{
Layout = "~/Views/Shared/_Root.Head.cshtml";
}
@Html.Action("WidgetsByZone", "Widget", new { widgetZone = "body_start_html_tag_after" })
@Html.Partial("_Notifications")
<div class="master-wrapper-page">
@Html.Action("JavaScriptDisabledWarning", "Common")
<div class="master-wrapper-content">
<script type="text/javascript">
//<![CDATA[
//replace the first parameter with "true" to use popup notifications
AjaxCart.init(false, '.header-links .cart-qty', '.header-links .wishlist-qty', '#flyout-cart');
//]]>
</script>
@Html.Partial("Header")
@Html.Partial("HeaderMenu")
@Html.Action("WidgetsByZone", "Widget", new { widgetZone = "content_before" })
@*ajax loading window*@
<div class="ajax-loading-block-window" style="display: none">
<div class="loading-image">
</div>
</div>
@RenderBody()
@Html.Action("WidgetsByZone", "Widget", new { widgetZone = "content_after" })
@Html.Action("EuCookieLaw", "Common")
</div>
@Html.Action("Footer", "Common")
</div>
@Html.Action("WidgetsByZone", "Widget", new { widgetZone = "body_end_html_tag_before" })