Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1118
Infragitics namng conflict?
posted

Using 20141:

I'm getting the following error while debugging an app.

"The type 'Infragistics.Windows.Controls.TabItemEx' exists in both 'InfragisticsWPF4.v14.1.dll' and 'InfragisticsWPF4.Reports.Controls.Common.v14.1.dll' "

How do we work around it and not remove any assembly references?

Parents
  • 30945
    Offline posted

    Hello,

     

    Thank you for you post. I have been looking into the error that you are getting and the reason for it, is that the TabItemEx is defined in both assemblies, in the same namespace. In order to be able to define use the TabItemEx in code, you can set Alias of the InfragisticsWPF4.Reports.Controls.Common.v14.1 assembly. You can read more details on the aliases here: http://blogs.msdn.com/b/ansonh/archive/2006/09/28/extern-alias-walkthrough.aspx . By setting the alias of the InfragisticsWPF4.Reports.Controls.Common.v14.1, by declaring a TabItemEx variable it will use the one in the InfragisticsWPF4.v14.1 assembly.

     

    I am attaching a sample application that shows how you can implement this.

     

    Please let me know if you need any further assistance of the matter.

     

    Sincerely,

    Krasimir, MCPD

    Developer Support Supervisor - XAML

    Infragistics

    www.infragistics.com/support

    TabControlReportingDLLIssue.zip
Reply Children
No Data