Cs0433: The type "XXXXX" exists in both XXX. dll and yyy. dll.

Source: Internet
Author: User

Cs0433: The type "XXXXX" exists in both XXX. dll and yyy. dll.

In use. NET programming, we generally do not care too much about the inherits = "XXX" in @ page. It is generated by vs itself and can be used directly, this poses a major risk when a website is published ,. net Framework will use this method to create the page. If you use the same inherits value in multiple different pages, multiple methods with the same name are created, in this way, when you run the website, it will cause a conflict, and the website will prompt that the type "XXXXX" exists in XXX at the same time. DLL and yyy. DLL, so we will do it later. net website, pay attention to the name of this value.

BTW: This is often used on pages that use the master page.
Although the extensions of master pages and content pages are different, you can use the same file name. However, the same class will be used after compilation, which will make the. NET Framework depressing ~~
 

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.