EditFor: ASP.NET 3.5 vs. 4

Nov 8, 2010 at 9:53 PM

Am new to ASP.NET

When going through the tutorial have noticed that there is some difference when working in VS 2010 vs using VS 2008, so have been trying to do work it in both so can understand the diffences and have been able to work through the difference so far up to pg 80  

<%= Html.EditorFor(model => model.Album,
                new { Artists = Model.Artists, Genres = Model.Genres })--%>

and get the following error

Compiler Error Message: CS1928: 'System.Web.Mvc.HtmlHelper<MvcMusicStore.ViewModels.StoreManagerViewModel>' does not contain a definition for 'EditorFor' and the best extension method overload 'System.Web.Mvc.Html.EditorExtensions.EditorFor<TModel,TValue>(System.Web.Mvc.HtmlHelper<TModel>, System.Linq.Expressions.Expression<System.Func<TModel,TValue>>, string)' has some invalid arguments

I assuming this is another issues based on 3.5 vs 4, because it appears that EditorFor is not available in 3.5.

If using 3.5 what would someone use instead of EditorFor?