Page 1 of 1

does not imlement IXmlSerializable interface

Posted: Tue Apr 26, 2011 10:03 pm
by 13049545
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

Re: does not imlement IXmlSerializable interface

Posted: Wed Apr 27, 2011 10:12 am
by 10050769
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,

Re: does not imlement IXmlSerializable interface

Posted: Wed Apr 27, 2011 9:14 pm
by 13049545
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.

Re: does not imlement IXmlSerializable interface

Posted: Thu Apr 28, 2011 11:06 am
by 10050769
Hello jzarech,

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

Thanks,