System.Web.Services not found

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
 
C

cjburkha

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top