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

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
 
W

web1110

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

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