A
Ahmad Jalil Qarshi
Hi!
I have two applications A and B.
I used the BinaryFormatter object to serialize and deserialize object of
Structure "st" in my Applicaion "A".
Now I tried to Deserialize that Object from application "B". It gave me
following error message.
[An unhandled exception of type
'System.Runtime.Serialization.SerializationException' occurred in
mscorlib.dll
Additional information: Cannot find the assembly A, Version=1.0.2240.32685,
Culture=neutral, PublicKeyToken=null.]
whereas I can easily read that Object in application "A".
when I opened the file that contain the serialized object I found that
application "A" placed its name as header while serializing object.
Any way to solve this problem.
Please note that I am serializing more than 1 objects in same file.
Regard,
Ahmad Jalil Qarshi
I have two applications A and B.
I used the BinaryFormatter object to serialize and deserialize object of
Structure "st" in my Applicaion "A".
Now I tried to Deserialize that Object from application "B". It gave me
following error message.
[An unhandled exception of type
'System.Runtime.Serialization.SerializationException' occurred in
mscorlib.dll
Additional information: Cannot find the assembly A, Version=1.0.2240.32685,
Culture=neutral, PublicKeyToken=null.]
whereas I can easily read that Object in application "A".
when I opened the file that contain the serialized object I found that
application "A" placed its name as header while serializing object.
Any way to solve this problem.
Please note that I am serializing more than 1 objects in same file.
Regard,
Ahmad Jalil Qarshi