Page 1 of 1

Build Error

Posted: Sun Jun 10, 2012 9:34 am
by 16060254
Since we have updated our code to the latest version of TeeChart.Net source code we could not build an new version of the component project ! We receive the following error!
Error 171 "Steema.TeeChart.Editors.ChartEditor" contains no definition of "ChartEditor_FormClosing", and it could be found no extension method 'ChartEditor_FormClosing ", the first argument of type accepted" Steema.TeeChart.Editors.ChartEditor ". (Are you missing a using directive or an assembly reference?) C:\..\ TeeChart \ Editor \ ChartEditor.cs 1325 87 TeeChart.Client2010
when we build only the TeeChart Component without WPF etc. we don't get these error but we can't an the component to Visual Studio Component Toolbox an we receive an inheritance security error of from the Typ "Steema.TeeChart.Tools.Tool+ToolDesinger" : Derived types must have the same security access as the base type

Do have an Idea what the problem could be?


Thanks

Re: Build Error

Posted: Mon Jun 11, 2012 9:56 am
by 10050769
Hello Uta,

You need know that TeeChart.WPF and TeeChart.Silverlight do not support XAML designtime surfaces. You can place a TChart in a XAML page at designtime, but you cannot do any editing on the TChart objects or properties using XAML. This has been so since the existence of TeeChart.WPF and TeeChart.Silverlight. Therefore, if you want that TeeChart have same funcionalities, in WPF that in Winforms you can achieve same results without problems, if you work in runtime.

Thanks,

Re: Build Error

Posted: Mon Jun 11, 2012 7:59 pm
by 16060254
Dear Sandra,

my question is not about XAML, WPF or Silverligth! We have some Winform Apps an we want to replace the olde TeeChart.Net (compiled based on the sourcecode from you) with the newest version witch we have downloaded from your customer access side - an we get the compiling error and we get the security error when we try to use the component! WE want it only running in Winforms! What is the way to compile it and get it running in VS 2010?

Thanks

Re: Build Error

Posted: Tue Jun 12, 2012 3:14 pm
by 10050769
Hello Uta,

Ok. Sorry for my confusion. I recommend you do something as next:

1.- Click on WindowsApplication4 with right button and select properties
2.- Go to Framework target and change Framework 4.0 Client Profile to Framework 4.0
3.- Run again your project.

If it doesn't solve your problem, please send me the complete error because we try to find a solution for it.

Thanks,