I'm pretty new in ASP.NET MVC (about 3 months) and i've the followin issue:
I have a Entity Class called 'Usuario' in a ClassLibrary referenced as 'Core' and, when i create a strongly-typed view and add a html.textboxfor<> like:
<%= Html.TextBoxFor(u => u.Login) %>
it raises the following error:
Error 3 The call is ambiguous between the following methods or properties:
'Microsoft.Web.Mvc.ExpressionInputExtensions.TextBoxFor<Core.Usuario,string>(System.Web.Mvc
.HtmlHelper<Core.Usuario>,
System.Linq.Expressions.Expression<System.Func<Core.Usuario,string>>)' and
'System.Web.Mvc.Html.InputExtensions.TextBoxFor<Core.Usuario,string>(System.Web.Mvc.HtmlHel
per<Core.Usuario>, System.Linq.Expressions.Expression<System.Func<Core.Usuario,string>>)'
d:\Documents\Visual Studio
2008\Projects\GuiPereiraMVC2\GuiPereiraMVC2\Views\Gestao\Index.aspx 20 25
GuiPereiraMVC2
anyone knows why?