Closed Mantus667 closed 11 years ago
Hello, This is part of the DataAnnotationsExtensions project which is pulled in via a Nuget dependency so it shouldn't be a problem.
http://dataannotationsextensions.org/
Thanks, Warren
The DataAnnotationsExtensions only knows a [Email] and [Min] Attribute. So different nameing. Also the ProfileModel file is missing the "using DataAnnotationsExtensions;".
Thanks I will fix in 1.0.5 later today :+1:
Hmmm it seems that using System.ComponentModel.DataAnnotations is in the ProfileModel.cs file. Where is the problem where it's missing please?
That's maybe more a hint than actually an issue. The DataAnnotations for [URL], [EmailAdress] and [MinLenght] are new to .Net 4.5 and not found if using an older version of the framework. Maybe that should be stated somewhere?