Could not find type or namespace name "* * *" (is missing a using directive or assembly reference?) Error resolution

Source: Internet
Author: User

This error is due to the. NET version issue

Because of the current project. NET Framework is a. NET Framework 4client profile, and this client profile is a lite version of the. NET 4.0 framework, causing the referenced class library to be unusable .

Right-click the current project, select the Application tab on the left, and change the target frame to . NET Framework 4.


The official introduction is this:

. NET Framework 4 Client Profile provides a subset of the features in the. NET Framework 4. This client profile is designed to run the client application and enable the fastest deployment for Windows Presentation Foundation (WPF) and Windows Forms technology. Application developers who require features not included in this client profile should target the full. NET Framework 4 Rather than this client profile.


Could not find type or namespace name "* * *" (is missing a using directive or assembly reference?) Error resolution

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.