NotifyDataErrorInfoAdapter does not exist

Apr 14, 2014 at 1:23 PM
Hi,

The Examples on your project home page include an implementation of a validation base class for INotifyDataErrorInfo. But, the NotifyDataErrorInfoAdaptor doesn't seem to exist. Am I missing something here?
public class ValidatableViewModelBase : INotifyDataErrorInfo
{
    protected ValidationHelper Validator { get; private set; }
    private NotifyDataErrorInfoAdapter NotifyDataErrorInfoAdapter { get; set; }
    ....
}
Thanks in advance,

CodersOnCaffeine
Coordinator
Apr 19, 2014 at 10:06 PM
Hi,

Sorry for the late reply. Apparently you are referencing a .NET 4.0 version of the assembly, but the INotifyDataErrorInfo interface was introduced in .NET 4.5. You need to reference a portable version of the MvvmValidation.dll assembly that targets .NET 4.5, Silverlight 5, Windows Store apps and Windows Phone 8.
May 22, 2014 at 2:04 AM
im running .NET 4.5 and trying to use the latest version with INotifyDataErrorInfo. when trying to use nuget to install the package, it only ever picks the net40-client framework, not the portable one. so i have to manually remove/add the reference each time there is an update. the only information i found about it is that nuget internally picks specific frameworks over portable ones.