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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -