Teechart 4 and Framework 2

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Jesus
Newbie
Newbie
Posts: 2
Joined: Thu Dec 23, 2010 12:00 am

Teechart 4 and Framework 2

Post by Jesus » Wed Dec 29, 2010 10:00 am

I need to target the framework version 2 with Teechart v4. I get an error I can't solve. I post the error message:

'Advertencia 5 La referencia principal "TeeChart, Version=4.1.2010.11303, Culture=neutral, PublicKeyToken=9c8126276c77bdb7, processorArchitecture=MSIL" no se pudo resolver porque tiene una dependencia indirecta del ensamblado de .NET Framework "System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" cuya versión es superior "4.0.0.0" a la que hay en la versión de .NET Framework de destino actual "2.0.0.0".'

Could you please tell me how to proceed, I think I cannot change the dependencies myself.

I'm developing an application in Visual Studio 2010 (Visual basic)

Thank you

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

Re: Teechart 4 and Framework 2

Post by Sandra » Wed Dec 29, 2010 4:50 pm

Hello Jesus,

Problem basically is that you can not use a dll made in .Net Framework 4 in the projects where .Net framework 2. I suggest you, download TeeChart version 4, but for VS2008 or VS2005 and do as explain next:
1.- Change TragetFramework of your project from 4.0 to 2.0.
2.- Add in References TeeChart.dll are you downloaded (VS2008 or VS2005).
3.- Commented all dlls there aren't in .Net Framework 2.0.
4.- Check if application works for you.

If you have more problems, let me know.

I hope will helps.

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

Jesus
Newbie
Newbie
Posts: 2
Joined: Thu Dec 23, 2010 12:00 am

Re: Teechart 4 and Framework 2

Post by Jesus » Wed Dec 29, 2010 6:30 pm

Thank you Sandra, it worked beautifully when I just changed the dll version referenced by the application.

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

Re: Teechart 4 and Framework 2

Post by Sandra » Thu Dec 30, 2010 10:17 am

Hello Jesus,

I am glad that your problem is solved :).

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