我在using 引用System .Runtime .Remoting .Channels . Tcp时出现错误为System.Runtime.Remoting.Channels后没有.Tcp。我已将System.Runtime.Remoting.dll添加进来了。可是就是不能出现System .Runtime .Remoting .Channels . Tcp。导致了TcpClientChannel()和TcpServerChannel()都是非法的。不知是什么原因?(编辑环境是Vs.net2003)
using System.Runtime.Remoting.Channels.Tcp,我试过了可以,如果不行是不是你的这个DLL或者VS.NET IDE有问题?