Y中冲突的X型以Z进口X型 [英] The type X in Y conflicts with the imported type X in Z

查看:160
本文介绍了Y中冲突的X型以Z进口X型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个接口上以下警告:

I have the following warning on a interface :

在类型'DevEx press.Data.Browsing.Design.IColumnImageProvider   C:\用户[MYUSER] \文档\ Visual Studio的   2013 \项目\ MyProject的\ MyProject的\ ReportFiles \ CustomReportFieldListIcons.cs   与进口型冲突   在CDevEx press.Data.Browsing.Design.IColumnImageProvider':\ PROGRAM   文件(x86)\ DevEx preSS \ DXperience13.1 \ BIN \框架\ DevEx press.XtraTreeList.v13.1.dll   使用中所定义的类型:\用户[MYUSER] \文档\ Visual Studio中   2012 \项目\ XtraReportTest \ XtraReportTest \ ReportFiles \ CustomReportFieldListIcons.cs

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?

推荐答案

  • 删除项目的的OBJ 文件夹;
  • 清理重建的项目。

  • Remove the project's Bin and Obj folders;
  • Clean and Rebuild the project.
  • 这篇关于Y中冲突的X型以Z进口X型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆