Hi guys,
When trying to serialize a MagneticDeclinationPrinterLayer using the GeoSerializer the following exception is thrown:
Exception Source: MapSuiteCore
Exception Type: System.Exception
Exception Message: ohM=.8GM= is not marked as serializable
Exception Target Site: PjY=
---- Stack Trace ----
ThinkGeo.MapSuite.Core.GeoObjectModeler.PjY=(PzY= As Object, QDY= As GeoObjectNode, QTY= As String, QjY= As Type)
GeoSuite.EXE: N 00390
ThinkGeo.MapSuite.Core.GeoObjectModeler.CreateMemberNodeCore(memberName As String, memberValue As Object, memberType As Type, memberOwner As Object, baseMemberNode As GeoObjectNode)
GeoSuite.EXE: N 00045
ThinkGeo.MapSuite.Core.GeoObjectModeler.CreateMemberNode(memberName As String, memberValue As Object, memberType As Type, memberOwner As Object, baseMemberNode As GeoObjectNode)
GeoSuite.EXE: N 00107
ThinkGeo.MapSuite.Core.GeoObjectModeler.bzY=(cDY= As Object, cTY= As GeoObjectNode, cjY= As FieldInfo)
GeoSuite.EXE: N 00135
ThinkGeo.MapSuite.Core.GeoObjectModeler.aDY=(aTY= As Object, ajY= As GeoObjectNode)
GeoSuite.EXE: N 00379
ThinkGeo.MapSuite.Core.GeoObjectModeler.PjY=(PzY= As Object, QDY= As GeoObjectNode, QTY= As String, QjY= As Type)
GeoSuite.EXE: N 02142
ThinkGeo.MapSuite.Core.GeoObjectModeler.OjY=(OzY= As Object)
GeoSuite.EXE: N 00361
ThinkGeo.MapSuite.Core.GeoObjectModeler.CreateModel(objectToModel As Object, memberTypes As GeoObjectModelerMemberTypes, bindingFlags As BindingFlags, defaultValueMode As GeoObjectModelerDefaultValueMode)
GeoSuite.EXE: N 00088
ThinkGeo.MapSuite.Core.GeoSerializer.Serialize(objectToSerialize As Object, targetPathFileName As String)
GeoSuite.EXE: N 00086
MapUtilities.SilvicsPageLayout.SerializeLayoutTemplate(oGeoSerializer As GeoSerializer, sTempZipFileName As String, sFolder As String, oFilesToDelete As Collection`1)
SilvicsPageLayout.vb: line 2037, col 10, IL 0260
MapUtilities.WorkingSet.SaveWorkingSet(oToc As SilvicsTocControl, sCurrentFileName As String&)
WorkingSet.vb: line 0161, col 10, IL 0986
Is the MagneiticDeclinationPrinterLayer supposed to be serializeable?
Thanks!
Steve