Using sharpmap, i want to save all information of my map to a binary file.
BinaryFormatter BinaryWrite = new BinaryFormatter();
BinaryWrite.SurrogateSelector = ss;
after trying to resolve some problem with surrogates, i saved my map to a binary file, called test.map. Then i want to reload this file but i get a error message box about FeatureDataTable: "the constructor to deserialize an object of type SharpMap.Data.FeatureDataTable
was not found..."
BinaryFormatter BinaryRead = new BinaryFormatter();
BinaryRead.SurrogateSelector = ss;
SharpMap.Map map = (SharpMap.Map)BinaryRead.Deserialize(StreamRead);
Could anybody help me?
Thanks in advance.