System.Web.Services not found

  • Thread starter Thread starter cjburkha
  • Start date Start date
C

cjburkha

Hi,

I just downloaded vb Express Edition, and I am having some trouble. I
have my class file, and I have this line:

Imports System.Web.Services

But I get a warning: "Warning 1 Namespace or type specified in the
Imports 'System.Web.Services' doesn't contain any public member or
cannot be found. Make sure the namespace or the type is defined and
contains at least one public member. Make sure the imported element
name doesn't use any aliases."

Of course, when I try and use a member from this namespace, like
System.Web.Services.WebServiceBindingAttribute
I get an error that it is not defined.

I searched my computer, I have the DLL, both System.Web.dll and
System.Web.Services.dll are in the same place.

Any ideas? Thanks,

CJB
 
I had to go to Project-->Add Reference and add the System.Web to my
project.

I don't know why this is. In building a .NET project, I don't know why
I would not by default have access to all the .NET librarys, but hey, I
am up and running again.

CJB
 
Back
Top