Same namespaces in TeeChart.WPF.dll & TeeChart.dll
Posted: 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?
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?