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
If you wish to be explicit about the reference, you can simply add this line:
using CompareAttribute = System.Web.Mvc.CompareAttribute;