We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Removing version information when serializing a Diagram that contains custom Symbol with SaveBinary

Thread ID:





126163 Sep 28,2016 08:31 AM UTC Sep 29,2016 11:35 AM UTC WinForms 1
Tags: Diagram
Marco Casella
Asked On September 28, 2016 08:31 AM UTC

I have a diagram with some custom symbol 

    [Serializable()] public class CustomNode : Group { protected CustomNode(SerializationInfo info, StreamingContext context) : base(info, context) { this.m_nodeInformation = info.GetString("strDescription"); } protected override void GetObjectData(SerializationInfo info, StreamingContext context) { base.GetObjectData(info, context); info.AddValue("strDescription", this.NodeInformation); } }
Then i serialize the entire diagram with:


and later load with:


The probleim is that this serialization contains the version of the assembly of my class, and when it changes old node won't be deserialized.

There is a method to customize this?

best regards

Naganathan Ganesh Babu [Syncfusion]
Replied On September 29, 2016 11:35 AM UTC

Hi Macro, 
Thanks for contacting Syncfusion support. 
On further analysis, we found that the problem is due to the AssemblyResolver error. Please refer to the below online KB documentation link for your references. 
Naganathan K G  


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon