Click here to Skip to main content
15,898,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

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
 
Share this answer
 
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
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900