I started looking at using proto-buf .Net for my serialization needs for media browser.
In the new system we have a entity framework that can be extended with plug-ins.
So, for example, we define a Media class in the core library, and then plug-ins can define subclasses such as Song.
It seems that proto-buf .Net needs to know about all sub types of our core defined base class.
So I am expected to decorate my base class with
[ProtoInclude(2, typeof(Song))]
But ... at that point in time I know nothing about the Song class that does not exist yet.
Is it back to the drawing board? Am I trying to do something the library is not designed for?