Same namespaces in TeeChart.WPF.dll & TeeChart.dll

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Sean Snyders
Newbie
Newbie
Posts: 14
Joined: Thu Sep 04, 2008 12:00 am

Same namespaces in TeeChart.WPF.dll & TeeChart.dll

Post by Sean Snyders » Tue Sep 09, 2008 11:07 am

Hi,

I'm trying to combine Winforms TeeChart charts as well as WPF TeeChart charts into one application/assembly.

This assembly references both dlls from TeeChart (the TeeChart.dll for the WinForms stuff and the TeeChart.WPF.dll for the WPF stuff).
I'm getting now 'ambiguous reference' errors due to the same namespaces being included in the WPF dll that is in the WinForms TeeChart dll.

Why are they duplicated in the WPF dll? This is maybe to make the WPF dll as a 'standalone' dll such as not to require the TeeChart dll that includes the WinForms stuff. But maybe there should be 3 dlls. One for the core TeeChart stuff, one for the WinForms stuff (that references/uses the core dll) and one for the WPF stuff (that also references the core dll). This way we would be able to use both WinForms as well as WPF in one application/assembly.

Any idea of how to get right what we want without splitting our own WPF and WinForms code into 2 different assemblies?

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

Post by Narcís » Tue Sep 09, 2008 1:38 pm

Hi Sean,

We are investigating the issue here and will get back to you when we have further news.
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

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

Post by Narcís » Tue Sep 09, 2008 2:30 pm

Hi Sean,

Thank you for the bug report. Combined use of WPF and WinForm assemblies in one project was not anticipated in the original scope of the TeeChart WPF design but your observation is valid and that use-mode should be an option. We will correct the problem for the next maintenance update. We expect that might require a renaming of some 'using' statements for current WPF projects but feel that the need is important enough to make the modification at this stage. Thanks once again for your comments.
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

Sean Snyders
Newbie
Newbie
Posts: 14
Joined: Thu Sep 04, 2008 12:00 am

Post by Sean Snyders » Tue Sep 09, 2008 2:36 pm

Hi Narcís,

Thank you again for the speedy replies.
We'll be looking forward to the next release!

ciao,
Sean.

Post Reply