public static void Main(string[] args) { try { SocketClient client = new SocketClient (10000);//Convert.ToInt32 (Console.ReadLine ())); //client.LoadMono (File.OpenRead (Path.Combine (Path.GetDirectoryName (Assembly.GetEntryAssembly ().Location), "CoreDroid.Test.Contract.dll"))); //client.LoadMono (File.OpenRead (Path.Combine (Path.GetDirectoryName (Assembly.GetEntryAssembly ().Location), "CoreDroid.Test.Plugin.dll"))); client.LoadMono ("CoreDroid.Test.Plugin"); Test1 (client); } catch (ServiceException ex) { Console.WriteLine ("ServiceException"); Console.WriteLine ("\tAssemblyName: " + ex.OriginalAssemblyName); Console.WriteLine ("\tTypeName: " + ex.OriginalTypeName); Console.WriteLine ("\tMessage: " + ex.OriginalMessage); Console.WriteLine ("\tStackTrace: " + ex.OriginalStackTrace); } }