问题
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?
回答1:
- Remove the project's Bin and Obj folders;
- Clean and Rebuild the project.
来源:https://stackoverflow.com/questions/18825452/the-type-x-in-y-conflicts-with-the-imported-type-x-in-z