I developed a serialization methods using GeoSerializer.
After serializing a class containing shapefiles and rasterlayers, and deserializing it all works fine.
but after adding layers to overlays (inside a mapcontrol) and trying to reserialize the same class (without any modification), the following error is occuring:
"MapSuiteGeoRaster.GeoImage is not marked as serializable"
Hi ahamad, We apologize for the delay and any inconvenience this may cause. As far as I guessed, the new layer you added should be EcwRasterLayer or MrsidRasterLayer, I checked the code and I did find the “MapSuiteGeoRaster.GeoImage” isn’t marked with “Serializable”, to avoid this issue, we have done the enhancement, please get latest version 6.0.0.59 or later and have a try. Btw, the weird thing is that I was unable to reproduce the problem you got if I created an instance of “MrsidRasterLayer”, and then put it to “GeoSerializer”, all works fine, maybe I did something wrong, anyway please get the latest version and have a try, any question or problem please let us know.