The line below throw an InvalidOperationException with the message “There was an error reflecting type ‘Northwoods.Go.GoBoxNode’”.
XmlSerializer serializer = new XmlSerializer(typeof(GoBoxNode));
any idea why?
The Go classes weren’t designed to be serialized using XmlSerializer. I can’t recall exactly what the problem is. But I remember that when we considered supporting XmlSerialization that we thought it couldn’t work well and thus wasn’t worth trying.