Page 1 of 1

Problem updating from MSVS 2003 a 2005 and TeeChart

Posted: Fri Jun 16, 2006 11:00 am
by 8125809
I have installed thge MSVS 2005 recently mantaining the 2003 version also. I have updated my Teechart componet to the las update you have,
TeeChar Net 1, Build 1.1.2307.20497. and I have installed in hte version MSVS 2005 the news dll as you say. I am not able of make the TChart component works even with the simpler application, I obtained a lot of odd messages when I compile the application like. That no happens with the 2003 version I keep.


1>c:\winnt\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll : warning C4945: 'ResXFileRef' : no se puede importar un símbolo desde 'c:\winnt\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll': ya que 'System::Resources::ResXFileRef' ya se ha importado desde otro ensamblado 'System.Windows.Forms'........

It only happend when I try to use the TeeChart component

Regards
S

Posted: Fri Jun 16, 2006 11:47 am
by narcis
Hi sacate,

The TeeChart for .NET build you use works fine in VS2005.

You should check that your project references were properly changed and that TeeChart for .NET's assembly folder is set to the proper location. You'll find that at the key below in the registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\TeeChart

Posted: Fri Jun 16, 2006 1:19 pm
by 8125809
Hi, what you indicated was Ok! so it was not the problem. I have fund that when I make a C# program there is no problem, but in C++ for some odd reason the MVS duplicate the references of project when I add the TChart componet, so for example, I have references to 2 System (one is version 1 and the other 2), 2 System.Drawing (1 and 2 version), 2 system.windows.forms and 2 system.data (1 and 2 version) and 2 system.xml (1 and 2 version). When I delete all references of version 1 manually from the project properties everything is right.