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.
Unfortunately, activation email could not send to your email. Please try again.

Adding OldToNewDeserializationBinder for loading old versioned edp file in new version

Convert old versioned EDP/EDD file in new version

To overcome the problems while loading the old versioned EDP/EDD in newer version projects needs some conversion. For example if your EDP/EDD files version is 3.0 and projects version is 7.0 initially place the old versioned EDP/EDD files in the bin location of <OldToIntermediate sample> and after running the sample it will generate an EDP/EDD file of Intermediate version .

Then the Generated intermediate file must be placed in the bin location of <IntermediateToNew Sample> and after running the sample it will generate a new EDP/EDD file. It can be loaded in the newer version projects and problem won’t occurs.

Location for the Converter Sample:

C:\Users\<UserName>\AppData\Local\Syncfusion\EssentialStudio\<Installed Version>\Windows\Diagram.Windows\Samples\Converter

 

 

While using the EDD/EDP files of older version and loading in newer version it will throw Serialization exception. To avoid that exception the assembly resolver code must be used.

Add the below code snippet in your customized sample:

[C#]

 

[C#]

 

[VB]

 

[VB]

 

Article ID: Published Date: Last Revised Date: Platform: Control:
5703 11/13/2015 11/13/2015 Windows Forms Diagram
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.