jwaliszko / ExpressiveAnnotations

Annotation-based conditional validation library.
MIT License
351 stars 123 forks source link

Try to install it but get error when running app #154

Closed Jerome2606 closed 7 years ago

Jerome2606 commented 7 years ago

Hello,

I got an error when I try to make this working in my project:

ExpressiveAnnotations.MvcUnobtrusive.Validators.RequiredIfValidator must derive from System.Web.ModelBinding.ModelValidator

Is this plugin is not compatible with last MVC version ?

jwaliszko commented 7 years ago

Hi, NET Core is not supported yet.

Jerome2606 commented 7 years ago

Hello,

I'm not using NET Core but it's MVC 5

jwaliszko commented 7 years ago

It works, I'm using it with System.Web.Mvc.dll v 5.2.3.0.

<package id="Microsoft.AspNet.Mvc" version="5.2.3" targetFramework="net452" />

I'm unable to say why you have this issue. Could you please provide some more details?

jwaliszko commented 7 years ago

Closing due to inactivity.