I’m Serializing an ArrayList to a binary file in order to send it across TCP/IP. The serialized file is created by the server and I hope to be able to deserialize it with the client that I’m writing at the moment.
However, when the client attempts to deserialize it throws a SerializationException because it can’t find the assembly (presumably) which serialized the file to begin with.
How do I get around this?
Does your arraylist contain custom data type (i.e. your own classes)?
The arraylist won’t be deserialized unless the code running the deserialize has access to all of the classes contained within the arraylist.