Visual Studio bug Bar type confilict with imported type in DLL

Source: Internet
Author: User
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.