If you are getting error
“System.Web.WebPages.Html.HtmlHelper' does not contain a definition for 'Sitecore' and the best extension method overload 'Sitecore.Mvc.HtmlHelperExtensions.Sitecore(System.Web.Mvc.HtmlHelper)' has some invalid arguments” in your application, one of the possible cause for this, missing web.config file in “Views” directory.
Once you place web.config with namespaces details inside, this issue should not come again.
“System.Web.WebPages.Html.HtmlHelper' does not contain a definition for 'Sitecore' and the best extension method overload 'Sitecore.Mvc.HtmlHelperExtensions.Sitecore(System.Web.Mvc.HtmlHelper)' has some invalid arguments” in your application, one of the possible cause for this, missing web.config file in “Views” directory.
Once you place web.config with namespaces details inside, this issue should not come again.
No comments:
Post a Comment