Failed to use .net Remoting

I can not find using System.Runtime.Remoting.Channels.Tcp; and

what's wrong here, my platform does not support it

I am using VS 2010 Professional for Windows XP SP3

C:\VISUAL_STUDIO_2010\C#\Remoting_Server\Remoting_Server\Program.cs(13,31): error CS0246: The type or namespace name 'TcpServerChannel' could not be found (are you missing a using directive or an assembly reference?)

+4
source share
2 answers

Make sure you have a link in your project to System.Runtime.Remoting . Make sure your use contains:

 using System.Runtime.Remoting.Channels.Tcp; 
+4
source

just add the System.Runtime.Remoting link to your project and then you can use the namespace

 using System.Runtime.Remoting.Channels.Tcp; 

no mistakes

+1
source

Source: https://habr.com/ru/post/1387996/


All Articles