CAn't find System.Runtime.Remoting.Channels.Http

  • Thread starter Thread starter web1110
  • Start date Start date
W

web1110

Hi y'all,

I'm playing with C# again, trying to implement a remoted calculator
exercise.

If I include:

using System.Runtime.Remoting.Channels.Http;

I get the error:

s:\tmp\CalcServer\CalcServer\Class1.cs(4): The type or namespace name
'Http' does not exist in the class or namespace
'System.Runtime.Remoting.Channels' (are you missing an assembly reference?)

If I take it out, then the statement:

HttpChannel chan=new HttpChannel(65100);

generates this error:

s:\tmp\CalcServer\CalcServer\Class1.cs(53): The type or namespace name
'HttpChannel' could not be found (are you missing a using directive or an
assembly reference?)

I am using VS2000. When I enter "System.Runtime.Remoting.Channels.", there
are no options (Http) displayed. There is no
"System.Runtime.Remoting.Channels" listed in the .NET references.

Help!!!!!

Thanx,
Bill
 
I've tried adding a .NET reference to System.Runtime.Remoting and it didn't
solve the problem.
 
Back
Top