<!-- [if gte mso 10]> <mce:style>
Our company is building a word add-in (document-level add-in) with visual studio 2008, word 2007 and VSTO 3.0 sp1
There is one issue that causes us a headache. It is related to obsolete objects in isolated storage.
In Word add-in we serialize object and save it to isolated storage. Later we can load that object from isolated storage and use it in our application.
The problem occurs in following scenario:
-We are working in Word add-in and save one serialized object to isolated storage
-Turn of Word add-in and change code of the class whose instance we have saved in isolated storage
-Work in word add-in again and load and deserialize object from isolated storage. This object is of obsolete class and code usually breaks here or later in code when we are trying to access changed content.
If this scenario happens, we will clear obsolete object from isolated storage. Issue is how to recognize that object’s class is changed?
We tried to recognize changes in the following ways:
View Complete Post