~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/MonoDevelop.Components.AutoTest/AutoTestClientSession.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-06-27 17:03:13 UTC
  • mto: (1.8.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20110627170313-6cvz3s19x6e9hqe9
ImportĀ upstreamĀ versionĀ 2.5.92+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
using System;
28
28
using System.Diagnostics;
29
 
using System.Runtime.Remoting.Channels;
 
29
using System.Runtime.Remoting;
30
30
using System.Collections;
31
31
using System.Runtime.Serialization.Formatters.Binary;
32
 
using System.Runtime.Remoting;
33
32
using System.IO;
34
 
using System.Runtime.Remoting.Channels.Ipc;
35
33
using System.Threading;
36
34
using System.Collections.Generic;
37
35
 
52
50
                
53
51
                public void StartApplication (string file, string args)
54
52
                {
55
 
                        AutoTestService.SetupRemoting ();
 
53
                        MonoDevelop.Core.Execution.RemotingService.RegisterRemotingChannel ();
56
54
                        
57
55
                        if (file.ToLower ().EndsWith (".exe") && Path.DirectorySeparatorChar != '\\') {
58
56
                                args = "\"" + file + "\" " + args;
80
78
                
81
79
                public void AttachApplication ()
82
80
                {
83
 
                        AutoTestService.SetupRemoting ();
 
81
                        MonoDevelop.Core.Execution.RemotingService.RegisterRemotingChannel ();
84
82
 
85
83
                        string sref = File.ReadAllText (AutoTestService.SessionReferenceFile);
86
84
                        byte[] data = Convert.FromBase64String (sref);