The type or namespace name "UI" does not exist in the class or namespace "system. Web" (is the Assembly reference missing ?) Solution
Source: Internet
Author: User
I am studying ASP today. net, a new class library project is created, and a control is written to test the addition of this control in the toolbox. However, after the creation, the control fails during compilation. The prompt is: [type or namespace name "UI" in class or namespace "system. "Web" does not exist (whether or not it is missing ProgramSet Reference?)], The namespace already has
Using system;
Using system. Web. UI;
Why are errors still prompted for these two items?
In the past, no web reference was added to the reference of solution resource manager, and system. Web was introduced. I think it may be that the class library I created was not a web project class library.
I tested the problem.
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.