Remoting Channel problem with .NET 2.0
-
Hello, I'm using Visual Studio 2005 Standard Edition and I'm writing an application with C# using the .NET 2.0 framework. I've come across a little problem when I want to create my remote objects. The problem is that I cannot create a
TcpChannel
. I use the following code:// import the TCP channel
using System.Runtime.Remoting.Channels.Tcp;// Somewhere in code
// Create the TcpChannel
m_TcpChanServ = new TcpChannel(10000);The problem is that the compiler complains that it doesn't know the Tcp namespace. It worked with VS2003. Was the Tcp namespace moved under .NET 2.0 or is it unavailable for the Standard Edition of visual studio? Behind every great black man... ... is the police. - Conspiracy brother Blog[^]
-
Hello, I'm using Visual Studio 2005 Standard Edition and I'm writing an application with C# using the .NET 2.0 framework. I've come across a little problem when I want to create my remote objects. The problem is that I cannot create a
TcpChannel
. I use the following code:// import the TCP channel
using System.Runtime.Remoting.Channels.Tcp;// Somewhere in code
// Create the TcpChannel
m_TcpChanServ = new TcpChannel(10000);The problem is that the compiler complains that it doesn't know the Tcp namespace. It worked with VS2003. Was the Tcp namespace moved under .NET 2.0 or is it unavailable for the Standard Edition of visual studio? Behind every great black man... ... is the police. - Conspiracy brother Blog[^]
Did you try explicitly adding a reference to System.Runtime.Remoting.dll? Regards Senthil _____________________________ My Blog | My Articles | WinMacro
-
Did you try explicitly adding a reference to System.Runtime.Remoting.dll? Regards Senthil _____________________________ My Blog | My Articles | WinMacro