'TChart' is ambiguous in the namespace 'Steema.TeeCh

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
rossmc
Newbie
Newbie
Posts: 57
Joined: Wed Apr 08, 2009 12:00 am

'TChart' is ambiguous in the namespace 'Steema.TeeCh

Post by rossmc » Tue Mar 02, 2010 8:19 am

Windows forms project. I have the chart control on multiple different forms in my application already and everything has been working fine for months now.

I created a new form in the project today and dragged the TChart component from the toolbar onto the form resulting in a huge Visual Studio error message window the first entry being: Failed to create component 'TChart'...something about 'TeeChart' already exists in the project.

Now my entire project is broken. All the forms that already had chart controls cannot be opened or edited in the designer and I suddenly have a raft of errors of the type in the title.

What gives? A short while ago I update the DLL to the latest v3 but after that point my project was still fine for at least a month. Please tell me you know what this is.

Many thanks

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: 'TChart' is ambiguous in the namespace 'Steema.TeeCh

Post by Narcís » Tue Mar 02, 2010 3:40 pm

Hi rossmc,

I'm afraid this occurs because your project is referencing an old TeeChart.dll and you are trying to use a newer one now. Try updating your project's reference to newest TeeChart.dll and try it again.

Thanks in advance.
Best Regards,
Narcís Calvet / 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

rossmc
Newbie
Newbie
Posts: 57
Joined: Wed Apr 08, 2009 12:00 am

Resolved: 'TChart' is ambiguous in the namespace 'Steema.Tee

Post by rossmc » Wed Mar 03, 2010 5:54 am

Thanks. Resolved by once again referencing the correct DLL.

Also, it looks like my toolbox in the Visual Studio IDE was 'corrupt'. I rebuilt it and now the TChart item in the toolbox is pointing to the correctly referenced DLL, meaning I can once again add charts without problems.

Post Reply