public BinaryMessage Initialize(InitializeRequest msg)
 {
     WatchProcess(msg.IdeProcessId);
     SetCulture(CultureInfo.GetCultureInfo(msg.CultureName));
     SetGlobalProperties(msg.GlobalProperties);
     return(msg.CreateResponse());
 }
Beispiel #2
0
            BinaryMessage CreateBuildEngineAndRespondToInitialize(InitializeRequest msg)
            {
                var buildEngine = new BuildEngine(server);

                server.AddListener(buildEngine);
                server.RemoveListener(this);
                return(buildEngine.Initialize(msg));
            }
 public BinaryMessage Initialize(InitializeRequest msg)
 {
     msbuildBinDir = msg.BinDir;
     AppDomain.CurrentDomain.AssemblyResolve += MSBuildAssemblyResolver;
     WatchProcess(msg.IdeProcessId);
     SetCulture(CultureInfo.GetCultureInfo(msg.CultureName));
     SetGlobalProperties(msg.GlobalProperties);
     return(msg.CreateResponse());
 }
Beispiel #4
0
 public BinaryMessage Initialize(InitializeRequest msg)
 {
     msbuildBinDir = msg.BinDir;
     AppDomain.CurrentDomain.AssemblyResolve += MSBuildAssemblyResolver;
     return(CreateBuildEngineAndRespondToInitialize(msg));
 }