Tech Off Post

Single Post Permalink

View Thread: XmlElement is not marked as serializable (unhelpful BCL error)
  • User profile image
    androidi

    Turns out the query filling in the fields is now filling in a new field of XmlAnyElement (anyField), previously it was null.

    I just set it to null as I don't need it, easy alternative solution might be to switch from binary to xmlserializer.

    It's also possible that the reference.cs needs to be updated and that would solve the problem. ie. maybe the new unrecognized fields end up in the anyField.