The DLL is already referenced in draft. NET, but the compilation error cannot find the type or namespace

Source: Internet
Author: User

Today, the code in the project, the need to put other people's DLL into the project (very old), but has been reported to find no namespace or type of error, there is no way to go down.

1. Guess where you don't know, let others help solve it, and ultimately the problem is beyond the scope of our understanding to fail.

2. Guess is my vs problem, so for other people's computer or the same error, this can eliminate the abnormal factors.

3. Ask someone to help, when they are not at the end of the time, I suddenly think of the recently seen. NET version of things, hurriedly verify, found that their calling program is running on 2.0, DLL is I only compile 4.0, are modified into 4.0 after the introduction of the namespace, done.

Summary: The features of the. NET Framework version are still unclear and need to be studied again.

This article is from the "more efforts, the more Fortunate" blog, please be sure to keep this source http://actor.blog.51cto.com/1764681/1594042

The DLL is already referenced in draft. NET, but the compilation error cannot find the type or namespace

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.