After installing .net 4.5 (comes with vs2012) some dll in of the WPF framework have been replaced with new ones. These new dll give me trouble with databinding to the collection which inherit from CSLAReadOnlyBase. When running on the old framework all works fine, but on the new the MS.Internal.Data.ViewManager.CacheView(Object collection, CollectionViewSource cvs, CollectionView cv, ViewRecord vr) throws a nullpointer exception on databinding (sometimes it works, sometimes it fails). I was wondering if this is a know issue in CSLA 4.1 or that it is a unkown databinding problem at microsoft.
I don't know, as I have made no effort to test version 4.1 on .NET 4.5.
We created CSLA 4.5 to support .NET 4.5 and 4.0.
Interestingly enough though, I don't think we changed anything in ReadOnlyBase to deal with changes in .NET 4.5 like you describe.
I have the issue under investigation at microsoft, if they have a solution/cause for the errors I get I'll post more information. Thx for your thoughts Rocky.
The problem was a faulty gethashcode implementation. Nothing wrong in de csla code.
Copyright (c) Marimer LLC