Build Error

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Uta
Newbie
Newbie
Posts: 5
Joined: Thu Sep 22, 2011 12:00 am

Build Error

Post by Uta » Sun Jun 10, 2012 9:34 am

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

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

Re: Build Error

Post by Sandra » Mon Jun 11, 2012 9:56 am

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,
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

Uta
Newbie
Newbie
Posts: 5
Joined: Thu Sep 22, 2011 12:00 am

Re: Build Error

Post by Uta » Mon Jun 11, 2012 7:59 pm

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

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

Re: Build Error

Post by Sandra » Tue Jun 12, 2012 3:14 pm

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,
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