Page 1 of 1

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

Posted: Tue Sep 09, 2008 11:07 am
by 13050247
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?

Posted: Tue Sep 09, 2008 1:38 pm
by narcis
Hi Sean,

We are investigating the issue here and will get back to you when we have further news.

Posted: Tue Sep 09, 2008 2:30 pm
by narcis
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.

Posted: Tue Sep 09, 2008 2:36 pm
by 13050247
Hi NarcĂ­s,

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

ciao,
Sean.