The type X in Y conflicts with the imported type X in Z [closed]

天涯浪子 提交于 2019-11-30 08:02:40

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!