I have migrated my project from MVC 4.0 to MVC 5.1. I have followed all the steps as mentioned here http://www.asp.net/mvc/tutorials/mvc-5/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2
Afrer that I have installed Vs 2013 SP1.
My project compiles without any issue and runs as expected. But When I open any .cshtml file i'm seeing the following error
The type arguments for method 'System.Web.Mvc.Html.DisplayExtensions.DisplayFor<TModel,TValue>(System.Web.Mvc.HtmlHelper<TModel>,
System.Linq.Expressions.Expression<System.Func<TModel,TValue>>)' cannot be inferred from the usage. Try specifying the type arguments explicitly.
I tried the following links, no luck.
MVC 5 -> MVC 5.1 Migration. Intellisense issues
mvc 3 to mvc 5 migration razor syntax issue
Any idea?