1

while I got error "using System.Web.UI" as namespace not found. I tried to figure it out by adding the reference. But unfortunately in the .NET tab I couldn't find System.Web.UI component while other components were there. How to solve the issue ?

enter image description here

1 Answer 1

2

EDIT: Okay, my original answer was based on the original version of the question...

Next up: do you have a reference to System.Web.dll which is the assembly which includes at least many of the classes in System.Web.UI?

Sign up to request clarification or add additional context in comments.

6 Comments

yap that was a typo in my question. Now edited. And yes I want the namespace using System.Web.UI
@Md.ArafatAlMahmud: Well that's wasted my time for no reason... please be more careful in future. Do you have a reference to the System.Web.dll assembly?
I have attached the screenshot what I found on my question.
@Md.ArafatAlMahmud: That looks like it's a display oddity... what exact project type do you have?
I have found the assembly in C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0 and my project type is ASP.NET web application
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.