这是什么警告? [英] what is this Warning ?

查看:76
本文介绍了这是什么警告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

警告

8``I:\ Programing \ MyProgram \ Library \ AriaNetDelijanCorporation \ AriaLibrary \ AriaBL \ AriaBL.cs''中的类型``AriaLibrary.AriaBL.Book''与导入的类型``AriaLibrary.AriaBL.Book''相冲突''在''i:\ Programming \ MyProgram \ Library \ AriaNetDelijanCorporation \ AriaLibrary \ bin \ Debug \ AriaLibrary.exe''中.使用在``I:\ Programming \ MyProgram \ Library \ AriaNetDelijanCorporation \ AriaLibrary \ AriaBL \ AriaBL.cs''中定义的类型. I:\ Programming \ MyProgram \ Library \ AriaNetDelijanCorporation \ AriaLibrary \ UI \ Document \ Book \ frm_AddNewBookISO.cs 24 16 AriaLibrary

Warning

8 The type ''AriaLibrary.AriaBL.Book'' in ''I:\Programing\MyProgram\Library\AriaNetDelijanCorporation\AriaLibrary\AriaBL\AriaBL.cs'' conflicts with the imported type ''AriaLibrary.AriaBL.Book'' in ''i:\Programing\MyProgram\Library\AriaNetDelijanCorporation\AriaLibrary\bin\Debug\AriaLibrary.exe''. Using the type defined in ''I:\Programing\MyProgram\Library\AriaNetDelijanCorporation\AriaLibrary\AriaBL\AriaBL.cs''. I:\Programing\MyProgram\Library\AriaNetDelijanCorporation\AriaLibrary\UI\Document\Book\frm_AddNewBookISO.cs 24 16 AriaLibrary

推荐答案

您引用的似乎库本身.换句话说,您引用的是由同一项目生成的库.检查您的参考资料.

欢呼声
Seems that you referenced the library itself. In other words, you are referencing the lib that is generated by the same project. Check your references.

Cheers


这意味着您已经在项目中引用了exe文件的调试版本.该引用的AriaLibrary.exe文件中存在类型"AriaLibrary.AriaBL.Book",并且作为源代码包含在项目本身中.检测到此冲突并发出警告.通过忽略通过引用的exe知道的类型,而支持项目本身内部的类型定义,可以解决冲突.

希望我能解释清楚.

干杯!

-MRB
This means that you''ve referenced the debug version of a exe file in your project. The type "AriaLibrary.AriaBL.Book" is present in that referenced AriaLibrary.exe file as well as included as source code in the project itself. This collision is detected and a warning is issued. The collision is resolved by ignoring the type that came to be known through the referenced exe in favor of the type definition inside the project itself.

I hope I explained it clearly.

Cheers!

-MRB


这篇关于这是什么警告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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