I am getting the "System.Web.WebPages.Html.HtmlHelper does not contain a definition for Partial and no extension method Partial accepting a first argument of type System.Web.WebPages.Html.HtmlHelper could be found"
error message when using @Html.Partial
. BUT, it still works as expected, and my partial shows up. I want to get rid of the error however. Here is my html, if it helps :-
<div id="reference">
@Html.Partial("Reference/_PermissionType")
@Html.Partial("Reference/_ProtocolType")
@Html.Partial("Reference/_ResponseType")
@Html.Partial("Reference/_SystemType")
</div>