remoting prob. with references

S

Steve

I'm trying to implement this tutorial
(http://www.csharphelp.com/bio/luke.html) in my code. When I build, I'm
getting compiler error:
error CS0234: The type or namespace name 'Tcp' does not exist in the class
or namespace 'System.Runtime.Remoting.Channels' (are you missing an assembly
reference?)

At the top of the offending file, I have:
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Channels.Tcp;


I don't get it. I'm using VS studio 2003. Anyone have any ideas?
Thank you for any suggestions,
Steve
 
W

Willy Denoyette [MVP]

Steve said:
I'm trying to implement this tutorial
(http://www.csharphelp.com/bio/luke.html) in my code. When I build, I'm
getting compiler error:
error CS0234: The type or namespace name 'Tcp' does not exist in the class
or namespace 'System.Runtime.Remoting.Channels' (are you missing an
assembly
reference?)

At the top of the offending file, I have:
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Channels.Tcp;


I don't get it. I'm using VS studio 2003. Anyone have any ideas?
Thank you for any suggestions,
Steve

Missing a reference to System.Runtime.Remoting.dll?

Willy.
 
K

Kollu

You are missing a reference to System.Runtime.Remoting.dll. Add the
reference manually to the project file..
Kollu
 
S

Steve

Thanks all for the response, this was an easy one. I thought that by adding
the "using" statement that it would load up te needed libraries... now I
know, thanks again for the help!

-SK
 

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