does not imlement IXmlSerializable interface

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
jzarech
Newbie
Newbie
Posts: 58
Joined: Mon Jul 07, 2008 12:00 am

does not imlement IXmlSerializable interface

Post by jzarech » Tue Apr 26, 2011 10:03 pm

Using tChart .Net v3 I get the error below:

Type 'System.Drawing.Color, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' does not implement IXmlSerializable interface therefore can not proceed with serialization.

Whever I edit the chart and then try and save the form it lives on.

Winform .Net app targeting .Net framework 3.5
Visual Studio 2008 sp1
Running on Windows XP.


see attached image for error and chart version.


Could this be a .Net version problem?

I've tried deleting references to System.Drawing.Color in from.resx and then the form doesn't load anymore.

It's probably something simple but eluding me.

thanks in advance.

Joseph
Attachments
teechartver.png
teechartver.png (39.33 KiB) Viewed 9091 times
tchartserializable.png
tchartserializable.png (12.35 KiB) Viewed 9022 times

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: does not imlement IXmlSerializable interface

Post by Sandra » Wed Apr 27, 2011 10:12 am

Hello jzarech,

I couldn't reproduce your problem using last version 3 of TeeChart.Net. Could you please,arrange a simple project, because we can reproduce exactly your problem here?

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

jzarech
Newbie
Newbie
Posts: 58
Joined: Mon Jul 07, 2008 12:00 am

Re: does not imlement IXmlSerializable interface

Post by jzarech » Wed Apr 27, 2011 9:14 pm

I found the solution.

This project used to reference an old version of teechart.

And even though I changed the reference to the teechart.dll in the project --

When I created a new project from scratch and added the new teechart to it I noticed that in the vbproj file the references were not the same.

So I copied the new reference by hand from the new project to the old project and that solved this problem.

Also I then went into the form designer.vb file by hand and deleted the line containing the above mentioned error.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: does not imlement IXmlSerializable interface

Post by Sandra » Thu Apr 28, 2011 11:06 am

Hello jzarech,

Thanks for your information. I am glad you have solved your problem.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply