
Web reference namespace not found
James, you don't have to add a using statment for your webservice. As long
as you have a web reference you are set.
You can reference it in code like this:
net.riche.www.MyClassName var = new net.riche.www.MyClassName();
--
Greg
http://www.*-*-*.com/
Quote:
> I have an assembly that references a web service. I've added the
reference
> to VS.NET and the default name is "net.riche.www". In my code, if I enter
> the line:
> using net.riche.www;
> I get the following error:
> ..\bloggermodule.cs(7,7): error CS0246: The type or namespace name 'net'
> could not be found (are you missing a using directive or an assembly
> reference?)
> Am I doing something wrong? Sometimes it works, but most of the time it
> doesn't.
> Attached is a screenshot showing the error, code, and project tree.
> ----
> James Bailey