
Cannot find the System.Net namespace
Hi Greg,
Yes I am using the "using" statement. In fact, this what I have in my C#
file:
using System;
using System.Net;
using System.Net.Sockets;
And still I am getting the same compilation error:
"The type or namespace name 'Net' does not exist in the class or namespace
'System' (are you missing an assembly reference?)"
Many Thanks,
Bilal,
Quote:
> Bilal, do you have a using statement at the top of your source file? You
> don't need a Reference but you do need a using statement.
> using System.Net;
> --
> Greg
> http://www.claritycon.com/
> > Hi all,
> > I am trying to use the "System.Net" class in my little application to
do
> > some TCP/IP socket work but when I build my project I get the following
> > message:
> > "The type or namespace name 'Net' does not exist in the class or
> namespace
> > 'System' (are you missing an assembly reference?)"
> > I have tried to Add References to my project but I don't see anywhere
any
> > indication for the "System.Net" library.
> > What am I missing? have I properly installed my SDK? or should this
> > "System.Net" library be installed separately?
> > Many Thanks,