I came across this error when I was trying to use the @Render method to render a view while passing through a object that will act as the model for that view.
Compiler Error Message: CS1973: ‘System.Web.Mvc.HtmlHelper’ has no applicable method named ‘Render’ but appears to have an extension method by that name. Extension methods cannot be dynamically dispatched. Consider casting the dynamic arguments or calling the extension method without the extension method syntax.
The issue was that the compiler could not choose the correct method because my model was “dynamic”.
The correct syntax is: