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

Banshee picture Banshee · Sep 16, 2013 · Viewed 11.3k times · Source

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?

Answer

Mikhail picture Mikhail · Sep 16, 2013
  • Remove the project's Bin and Obj folders;
  • Clean and Rebuild the project.