Why?

Why when I try to compile this simple sample (hehe) MS VS tell me that the

System.Runtime.Remoting.Channels.Tcp

Namespace does noe exists???

Then I try to compile it with csc.exe by dos prompt and all work fine???

Why???

--- code ---
PHP Code:
using System;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Channels.Tcp;

namespace 
RemotingSamples 
{
    public class 
Sample 
    
{

        public static 
int Main(string [] args
        {

            
TcpChannel chan = new TcpChannel(8085);
            
ChannelServices.RegisterChannel(chan);
            
RemotingConfiguration.RegisterWellKnownServiceType(Type.GetType("RemotingSamples.HelloServer,object"), "SayHello"WellKnownObjectMode.SingleCall);
            
System.Console.WriteLine("Hit <enter> to exit...");
            
System.Console.ReadLine();
            return 
0;
        }
    }