I started using Protobuf-Net in C# and WPF projects. I have a class that looks like this:
Class Study – Contains a collection of Clinical Finding Objects; each Clinical Finding object contains a collection of screen shot objects (instances of the screen shot class).
When I serialize the Study object – the Clinical Findings are getting serialized correctly. However the inner collection of Screen shot objects contains within each Clinical Finding object is NOT getting serialized.
This works properly with Binary Formatter. Can you please enlighten me?
Regards
Works fine here (see below). I’m happy to help, but you might want to add a reproducible example I can look at.