[Mono-list] BinaryFormatter with PCL?

Michael McGlothlin mike.mcglothlin at gmail.com
Fri Aug 15 20:32:24 UTC 2014


Is there any way to use BinaryFormatter with portable classes?

I have as much of my code as possible portable so I can do iOS, Android, etc but I'm trying to serialize objects and it's a lot more trouble than I expected. I can push a BinaryFormatter object but it still doesn't work because the Serializable attribute isn't set and I can't figure out a way to get the platform specific code to push it in a way I can use it as an attribute.

Thanks,
Michael McGlothlin
Sent from my iPhone


More information about the Mono-list mailing list