I converted XML data to a routing file using OsmSharpDataProcessor. When I try to load it, I get an error:
"System.ArgumentOutOfRangeException: Cannot deserialize the given stream, version unsupported or content unrecognized!
Parameter name: stream
at OsmSharp.Routing.Graph.Serialization.RoutingDataSourceSerializer`1[OsmSharp.Routing.CH.PreProcessing.CHEdgeData].Deserialize (System.IO.Stream stream, OsmSharp.Collections.Tags.TagsCollectionBase& metaTags, Boolean lazy) [0x00062] in /Users/joecooper/Projects/[redacted]/OsmSharp/OsmSharp.Routing/Graph/Serialization/RoutingDataSourceSerializer.cs:283
at [redacted].Core.Services.CompassService+cAnonStorey5.<>m0 () [0x001b1] in /Users/joecooper/Projects/[redacted]/Services/CompassService.cs:354"
The exact same build of OsmSharp, from the repo, is used in both the app and OSDP.
I converted XML data to a routing file using OsmSharpDataProcessor. When I try to load it, I get an error:
"System.ArgumentOutOfRangeException: Cannot deserialize the given stream, version unsupported or content unrecognized! Parameter name: stream at OsmSharp.Routing.Graph.Serialization.RoutingDataSourceSerializer`1[OsmSharp.Routing.CH.PreProcessing.CHEdgeData].Deserialize (System.IO.Stream stream, OsmSharp.Collections.Tags.TagsCollectionBase& metaTags, Boolean lazy) [0x00062] in /Users/joecooper/Projects/[redacted]/OsmSharp/OsmSharp.Routing/Graph/Serialization/RoutingDataSourceSerializer.cs:283 at [redacted].Core.Services.CompassService+cAnonStorey5.<>m0 () [0x001b1] in /Users/joecooper/Projects/[redacted]/Services/CompassService.cs:354"
The exact same build of OsmSharp, from the repo, is used in both the app and OSDP.