Search code examples
c#.netdevexpress.net-assembly

The type X in Y conflicts with the imported type X in Z


I have the following warning on a interface :

The type 'DevExpress.Data.Browsing.Design.IColumnImageProvider' in c:\Users[MyUser]\Documents\Visual Studio 2013\Projects\MyProject\MyProject\ReportFiles\CustomReportFieldListIcons.cs conflicts with the imported type 'DevExpress.Data.Browsing.Design.IColumnImageProvider' in 'C:\Program Files(x86)\DevExpress\DXperience13.1\Bin\Framework\DevExpress.XtraTreeList.v13.1.dll' Using the type defined in 'c:\Users[MyUser]\Documents\Visual Studio 2012\PRojects\XtraReportTest\XtraReportTest\ReportFiles\CustomReportFieldListIcons.cs'

Why? I have checked the references and can´t see that there is anything wrong there?


Solution

    • Remove the project's Bin and Obj folders;
    • Clean and Rebuild the project.