diff options
author | Lluis Sanchez <lluis@xamarin.com> | 2015-09-16 21:54:13 +0300 |
---|---|---|
committer | Lluis Sanchez <lluis@xamarin.com> | 2015-09-16 21:54:13 +0300 |
commit | e4a6dee1f0f1a558b09bc9a0904d19790c0aeb7c (patch) | |
tree | db3ac4d7ea4a064811790c1bf6252a72c1b84f04 | |
parent | f050aefb3b2fe30a664aef90599e5a487df1f0c3 (diff) |
Revert "[Core] Fix project builder issue"
This reverts commit 68199978ce3cdd1a98a1903da32f9093ff4abc6c.
-rw-r--r-- | main/src/core/MonoDevelop.Projects.Formats.MSBuild/Main.cs | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/main/src/core/MonoDevelop.Projects.Formats.MSBuild/Main.cs b/main/src/core/MonoDevelop.Projects.Formats.MSBuild/Main.cs index 617b966cdb..7436777040 100644 --- a/main/src/core/MonoDevelop.Projects.Formats.MSBuild/Main.cs +++ b/main/src/core/MonoDevelop.Projects.Formats.MSBuild/Main.cs @@ -30,7 +30,6 @@ using System.Runtime.Serialization.Formatters.Binary; using System.Runtime.Remoting; using System.Runtime.Remoting.Channels; using System.Runtime.Remoting.Channels.Tcp; -using System.Runtime.Remoting.Channels.Ipc; using System.Threading; using System.Diagnostics; @@ -69,15 +68,10 @@ namespace MonoDevelop.Projects.Formats.MSBuild IDictionary dict = new Hashtable (); var clientProvider = new BinaryClientFormatterSinkProvider(); var serverProvider = new BinaryServerFormatterSinkProvider(); + dict ["port"] = 0; + dict ["rejectRemoteRequests"] = true; serverProvider.TypeFilterLevel = System.Runtime.Serialization.Formatters.TypeFilterLevel.Full; - - /* dict ["port"] = 0; - dict ["rejectRemoteRequests"] = true; - ChannelServices.RegisterChannel (new TcpChannel (dict, clientProvider, serverProvider), false);*/ - - // Use the IpcChannel for now, since seems to be failing when there are many concurrent calls - dict ["portName"] = Guid.NewGuid ().ToString (); - ChannelServices.RegisterChannel (new IpcChannel (dict, clientProvider, serverProvider), false); + ChannelServices.RegisterChannel (new TcpChannel (dict, clientProvider, serverProvider), false); } public static void WatchProcess (string procId) |