I'm trying to implement Protocol Buffers in a test app, and I'm running into problems.
I'm trying to use a NuGet package called Xamarin.Forms.Labs.Services.Serialization.ProtoBuf.
It seems that this library is not PCL-compatible, so I have to include it into my Droid and iOS projects rather than my Common ones. I can work with that using Dependency Injection.
The problem is that all objects to be serialized must use attributes from the ProtoBuf-net package, which means the model objects must also be dependency injected. This seems like a really terrible solution.
Is there any way to use this library in a Xamarin project without dependency-injecting every object type?