MVC 4 Beta project fails to compile after upgrading to .Net 4.5.
This happens due to conflict between System.ComponentModel.DataAnnotations.CompareAttribute
System.ComponentModel.DataAnnotations.CompareAttribute
Using Visual Studio 2013 (MVC 5 project, .NET 4.5) the IntelliSense suggests that System.Web.Mvc.CompareAttribute is deprecated.
System.Web.Mvc.CompareAttribute
I used System.ComponentModel.DataAnnotations.CompareAttribute and it works fine. It also does the client-side validation!