硫化氢标准:请问Visual C# 中System.Runtime.Remoting.Channels.Tcp名称空间不存在是怎么回事?

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/03 01:40:09
在Visual C# 中,只有名称空间System.Runtime.Remoting.Channels,而没有名称空间System.Runtime.Remoting.Channels.Tcp,但我在MSDN2005却能找到System.Runtime.Remoting.Channels.Tcp.TcpChannel,请高手解答该怎么解决此问题。
(对不起,我目前没有积分悬赏。)
说明一下,提问题时我省略了using,在程序中是有的。谢谢athlongyj的响应。

在项目引用中添加
.net类型引用
找到system.runtime.remoting
加上就行了

1、添加引用
2、加using