Click here to Skip to main content
15,886,771 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
i've serialized a class in my app and my client saved it in a serialization file,i've continue to develop my app,now the client send me he's serialized file and i try to load it and my app throw an exception:

Cannot find the assembly "MyAPP", Version=1.0.3830.38879, Culture=neutral, PublicKeyToken=null.

how can i load it?
Posted
Comments
GPUToaster™ 12-Aug-10 5:33am    
It seems like Assembly version has been changed. Try falling back to original version. It is basically due to the Version problem.

1 solution

you might need to deserialize the class by hand, as in, parse the content and initialize a new object manually.

version tolerant serialization attributes dont exist till 2.0
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900