Error: user interface type or namespace does not exist in namespace

I need to use System.Web.UI in a class library project.

using System.Web.UI;

namespace OnlinePdViewer
{
    public class DisplayPd
    {
    }
}

I get a compilation error when using the System.Web.UI instruction:

"The type or namespace name" UI "does not exist in the namespace in" System.Web "if you are missing the assembly reference?"

I tried to add the System.Web link, but COM does not include the System.Web dll.

Can you help me figure this out? Thank..

+4
source share
1 answer

My mistake .. I found the answer, it's that simple.

"" → " " → " " → "" System.Web "".

+14

All Articles