Hello!
Is there somewhere a tutorial about what steps you have to take to upgrade a C# (Windows form) application that has an older version of TeeChart to the latest version of TeeChart (4.1.2012.9283)?
I have tried this:
Remove the old reference to TeeChart in the reference list.
Remove the lic file
Include the latest version of the TeeChart icons in the toolbox (browsing to the latest Teechart.dll)
Create a new dummy form and put a Teechart chart on it. This recreates the lic file and the TeeChart reference (4.1.2012.9283).
After having done this I get an error when I try to compile the project saying:
Error 2 'Could not load file or assembly 'TeeChart, Version=4.1.2012.9283, Culture=neutral, PublicKeyToken=9c8126276c77bdb7' or one of its dependencies. Ogiltig pekare. (Exception from HRESULT: 0x80004003 (E_POINTER))' C:\Users\SimonDa\Documents\Programutveckling\SawSemDelphiVS2010\SawSemDelphi\LC SawSemDelphi
A rightclick on the Teechart graph on the form also says tjhat thwe version is 4.1.2012.9283 as it should be.
I am having trouble understand where the trouble is so a manualabout how to upgrade applications would be nice.
Regards Per Berg
Trouble upgrade Teechart to latest version
-
- Newbie
- Posts: 2
- Joined: Tue Oct 11, 2011 12:00 am
Re: Trouble upgrade Teechart to latest version
Hello Per Berg, SP,
Seems this problems is a problem with .Net Frameworks version.
If you works in VS2010 you are working .Net Framework 4.0 and your projects will creates as .Net Framework 4.0, as default. If you have made your projects with previous versions of Visual Studio than VS2010, your projects have been created by previous .Net Frameworks (1.0 or 2.0 or 3.0 or 3.5)
In this case, you must know that assemblies of TeeChartFor.Net have been compiled for all .Net Frameworks and you need use a correctly assembly for each version of Visual Studio or .Net Framework. For example:
VS2003 or .Net Framework 1.0: You need use TeeChart build(4.1.2012.9280).
VS2005 or .Net Framework 2.0: You need use TeeChart build(4.1.2012.9281).
VS2008 or .Net Framework 3.0 or 3.5: You need use TeeChart build(4.1.2012.9282).
Vs2010 or .Net Framework 4.0: You need use TeeChart build 4.1.2012.9283
VS2012 or .Net Framework 4.5: At the moment, You need use TeeChart build (4.1.2012.9283).
My recommendation, if you want works with .Net Framework 4.0 or Build 4.1.2012.9283, is you change the .Net Framework of your original project for .Net Framework 4.0,. To do it you only need following next steps:
1.- Right click in your project and select Properties.
2.- Go to Target Framework.
3.- Change the Target framework for 4.0.
On the other hand, If you want still work with .Net Framework that you have used always, you only need change the .Net Framework in VS2010 and use a correct assembly of TeeChartFor.Net:
1.- Right click in your project and select Properties.
2.- Go to Target Framework.
3.- Change the Target framework as .Net Frameworks as you want use.
If you have any problems, please tell me know.
I hope will helps.
Thank,
Seems this problems is a problem with .Net Frameworks version.
If you works in VS2010 you are working .Net Framework 4.0 and your projects will creates as .Net Framework 4.0, as default. If you have made your projects with previous versions of Visual Studio than VS2010, your projects have been created by previous .Net Frameworks (1.0 or 2.0 or 3.0 or 3.5)
In this case, you must know that assemblies of TeeChartFor.Net have been compiled for all .Net Frameworks and you need use a correctly assembly for each version of Visual Studio or .Net Framework. For example:
VS2003 or .Net Framework 1.0: You need use TeeChart build(4.1.2012.9280).
VS2005 or .Net Framework 2.0: You need use TeeChart build(4.1.2012.9281).
VS2008 or .Net Framework 3.0 or 3.5: You need use TeeChart build(4.1.2012.9282).
Vs2010 or .Net Framework 4.0: You need use TeeChart build 4.1.2012.9283
VS2012 or .Net Framework 4.5: At the moment, You need use TeeChart build (4.1.2012.9283).
My recommendation, if you want works with .Net Framework 4.0 or Build 4.1.2012.9283, is you change the .Net Framework of your original project for .Net Framework 4.0,. To do it you only need following next steps:
1.- Right click in your project and select Properties.
2.- Go to Target Framework.
3.- Change the Target framework for 4.0.
On the other hand, If you want still work with .Net Framework that you have used always, you only need change the .Net Framework in VS2010 and use a correct assembly of TeeChartFor.Net:
1.- Right click in your project and select Properties.
2.- Go to Target Framework.
3.- Change the Target framework as .Net Frameworks as you want use.
If you have any problems, please tell me know.
I hope will helps.
Thank,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |