Y 中的类型 X 与 Z 中导入的类型 X 冲突 [英] The type X in Y conflicts with the imported type X in Z
问题描述
我在界面上有以下警告:
I have the following warning on a interface :
'DevExpress.Data.Browsing.Design.IColumnImageProvider' 中的类型c:Users[MyUser]DocumentsVisual Studio2013ProjectsMyProjectMyProjectReportFilesCustomReportFieldListIcons.cs与导入的类型冲突'C:Program 中的'DevExpress.Data.Browsing.Design.IColumnImageProvider'Files(x86)DevExpressDXperience13.1BinFrameworkDevExpress.XtraTreeList.v13.1.dll'使用在 'c:Users[MyUser]DocumentsVisual Studio 中定义的类型2012项目XtraReportTestXtraReportTestReportFilesCustomReportFieldListIcons.cs'
The type 'DevExpress.Data.Browsing.Design.IColumnImageProvider' in c:Users[MyUser]DocumentsVisual Studio 2013ProjectsMyProjectMyProjectReportFilesCustomReportFieldListIcons.cs conflicts with the imported type 'DevExpress.Data.Browsing.Design.IColumnImageProvider' in 'C:Program Files(x86)DevExpressDXperience13.1BinFrameworkDevExpress.XtraTreeList.v13.1.dll' Using the type defined in 'c:Users[MyUser]DocumentsVisual Studio 2012PRojectsXtraReportTestXtraReportTestReportFilesCustomReportFieldListIcons.cs'
为什么?我已经检查了参考资料,但看不出那里有什么问题?
Why? I have checked the references and can´t see that there is anything wrong there?
推荐答案
- 删除项目的Bin和Obj文件夹;
- 清理和重建项目.
- Remove the project's Bin and Obj folders;
- Clean and Rebuild the project.
这篇关于Y 中的类型 X 与 Z 中导入的类型 X 冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!