c# - How to get BinaryFormatter to deserialize in a different application -
i using binaryformatter serialize array of class instances file. can deserialize fine within same application. when try same deserialization in different application (that pulls in common file work) following error:
{"could not load file or assembly 'pmlscan, version=1.0.0.0, culture=neutral, publickeytoken=null' or 1 of dependencies. module expected contain assembly manifest."}
where pmlscan name of original application. how binaryformatter not try , load pmlscan?
you can achieve using custom serializationbinder. see here: advanced binary serialization: deserializing object different type 1 serialized into
Comments
Post a Comment