When I made a polyline and then saved it to disk, I noticed that when I tried to load the .lgf file it would fail everytime. When I added the condition "if (Drawing != null)" to the "UpdateVisual" method of the Polyline.cs class it seemed
to solve the problem. I didn't see any ramifications of putting this safety code there. However, I am not sure why the Drawing was null in the first place. But, I just wanted to make you aware of it. Thanks again for an awesome project and making it open source.
public override void UpdateVisual()
//CR when deserializing polyline from disk Drawing is null
//CR this helped to prevent runtime error
if (Drawing != null)
Shape.Points = Drawing.CoordinateSystem