Hi,
I am using TeeChart5.ocx in a Visual Studio 2010 project on windows 7. The ocx is registered and
everything builds fine when the target of the project is .NET4. However, when the target is different
(I need .NET2; everything else is the same) it doesn't build and gives errors:
The type or namespace name 'AxTeeChart' could not be found (are you missing a using directive or an assembly reference?)
Thank you
TeeChart5 in Visual Studio 2010
Re: TeeChart5 in Visual Studio 2010
Did anybody else encountered such a problem? Does anybody know what to do to make it work with a .NET2 target?
Thank you,
Enghouse
Thank you,
Enghouse
Re: TeeChart5 in Visual Studio 2010
Eventually, with a bit of luck, I got it to work. Copied some older versions of AxInterop.TeeChart.dll and Interop.TeeChart.dll and it now build. The ones I had were presumably the same but obviously something was different. A strange one.
Re: TeeChart5 in Visual Studio 2010
Hi Enghouse,
I've just tried it with the Dragging example included with TeeChart AX v5 installation (find it at in the "\Examples\Visual Studio .NET\CSharp\Dragging" folder) and found no problems with a Windows 7 x64 machine and Visual Studio 2010. Well, I only had to upgrade the project (Visual Studio 2010 does it automatically) and make sure it was being compiled in x86 platform in the Configuration Manager because it was trying to compile it in x64 with the Any CPU option (and the ActiveX x64 ocx has just been published recently for the actual version and still in beta stage).
Anyway, I'm glad to hear you worked around it!
I've just tried it with the Dragging example included with TeeChart AX v5 installation (find it at in the "\Examples\Visual Studio .NET\CSharp\Dragging" folder) and found no problems with a Windows 7 x64 machine and Visual Studio 2010. Well, I only had to upgrade the project (Visual Studio 2010 does it automatically) and make sure it was being compiled in x86 platform in the Configuration Manager because it was trying to compile it in x64 with the Any CPU option (and the ActiveX x64 ocx has just been published recently for the actual version and still in beta stage).
Anyway, I'm glad to hear you worked around it!
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |