I downloaded source code of example written in asp.net mvc3 visual studio 2010
Open solution file by visual studio 2012. It coverts source code to 2012 and opens solution.
When I build solution got error:
Error 1 The type ‘System.Web.Mvc.ModelClientValidationRule’ exists in
both ‘c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC
3\Assemblies\System.Web.Mvc.dll’ and ‘c:\Program Files (x86)\Microsoft
ASP.NET\ASP.NET Web
Pages\v2.0\Assemblies\System.Web.WebPages.dll’ C:\studyCode\MVCDemo-Part12\MVCDemo-Part12\MVCDemo\Attributes\Validation\EqualAttribute.cs 54 28 MVCDemo
Just delete System.Web.WebPages from solution references