Site.Master
<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %></p>
</p>
<body></p>
<asp:ContentPlaceHolder ID="Menu" runat="server"></p>
<!-- Menu goes here --></p>
</asp:ContentPlaceHolder> </p>
</body></p>
Sub.Master
<%@ Master Language="C#" MasterPageFile="~/Views/Shared/Site.Master" %></p>
<asp:Content ID="Content4" ContentPlaceHolderID="Menu" runat= "server"></p>
<% Html.RenderPartial("MainMenu"); %> </p>
</asp:Content></p>
This is the error when the application runs:
The name 'Html' does not exist in the current context