Type or namespace name "" Not Found (is missing a using directive or assembly reference?)

Source: Internet
Author: User

Original: http://www.cnblogs.com/zhangzhifeng/p/3607519.html

Symptom: The project was compiled with a hint that the type or namespace name "" was not found (is missing a using directive or assembly reference?)

Workaround:

If the type is not found, check whether the namespace that contains the type is referenced and use the using directive.
If the namespace is not found, then check to see if the assembly is referenced.

If you confirm that the assembly is referenced, check that the assembly version and project are consistent, for example, your project is. NET 4.0, and your assembly is compiled under. NET 3.5, (right-click the project, properties, view build, Target framework)

Or your reference project is not the same as the. NET Framework version of the referenced project, for example, one is. NET 4.0 and the other is. NET 4.0 Client profile.

Type or namespace name "" Not Found (is missing a using directive or assembly reference?)

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.