I upgrade the visual studio 2010 MVC project to visual studio 2013 .Net 4.5.
When I tried to add the following declaration to it, I get an error:
The type arguments for method 'System.Web.Mvc.Html.InputExtensions.PasswordFor(System.Web.Mvc.HtmlHelper, System.Linq.Expressions.Expression>)' cannot be inferred from the usage. Try specifying the type arguments explicitly.
I checked the references, all of them are in place. I added an web.config in view folder, but that didn't fix it.
Is there anything i am missing?