There is a strange phenomenon recently. There is no compilation error and no running error, that is, there is an error warning, which is very confusing. I thought: You can use it. Later I thought about it: to make a product, it is better to clarify this unclear situation. I use the English version. The Chinese error message is D: \ dlltest. dll in conflict with D: \ dlltest. dll. ------------------------------------------------------------------------ Conflict with yourself. Check the reference directory and reference itself. I cannot figure it out. If you want to get it, find it and finally restore the correct version. I finally found that this strange warning was triggered after I added a custom control. ------------------------------------------------------------------------ It is estimated that when the custom control is placed on the form, the reference of the current project will be automatically added to the reference. If the custom control is put together with the main project, it will add its own reference. I thought there was no need to create a separate project for a simple control. ------------------------------------------------------------------------ The solution to this problem is to place custom controls in a separate project. Reference: this is probably the meaning of the English post here. I am not good at English. Http://social.msdn.microsoft.com/forums/en-US/csharplanguage/thread/c5731e1a-12d3-45ce-ada8-facad2d835ea
URL: http://greatverve.cnblogs.com/archive/2012/02/10/vs-bug.html