The namespace "" does not exist or the namespace name is resolved

Source: Internet
Author: User

1. There is indeed no reference to the prompt namespace; (this class is a cainiao-level problem. Generally, you can add the reference and compile it ;)

2. References are added and compilation fails. (This type of problem has never been encountered before. Net 2 and is a new specialty after 3 ;)

 

The root cause of this problem is that the. Net of the Project selects the client profile version. Client Profile Introduction

Because client profile is a simplified framework version, there are many restrictions when using it. For example, system. Web is missing when adding a reference;

. Net full version

 

. Net Client Version

 

 

If you encounter the same problem, check the. NET version first. If the referenced target project is. Net full and the local project is. Net client, the compilation failure is prompted when the reference is explicitly added;

Change version

 

 

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.