Arguments cannot be inferred from usage?
In code, I have the following line:
Html.EditorFor(model => model.COLUMN_NAME)
Which is throwing the following in my Errors List
The type arguments for method 'System.Web.Mvc.Html.EditorExtensions.EditorFor<TM odel,TValue>(System.Web.Mvc.HtmlHelper<TModel>, System.Linq.Expressions.Expression<System.Func<TMo del,TValue>>)' cannot be inferred from the usage. Try specifying the type arguments explicitly
Any ideas why this would appear?
Seems to be fairly recent and I am not sure what's caused it, but it's on every one of the HTML. objects
__________________
Regards,
Sean
|