Md. Arafat Al Mahmud
Md. Arafat Al Mahmud

Reputation: 3214

cannot find the system.web.UI namespace in a project reference in visual studio 2010 for the target framework ASP.NET 4.0

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

Upvotes: 1

Views: 1956

Answers (1)

Jon Skeet
Jon Skeet

Reputation: 1500065

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?

Upvotes: 2

Related Questions