adds errordataproviders for wpf and silverlight