2 writes to ComponentHost
Microsoft.Build (2)
BackEnd\Components\Communications\NodeProviderOutOfProc.cs (1)
179this.ComponentHost = host;
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (1)
227this.ComponentHost = host;
12 references to ComponentHost
Microsoft.Build (12)
BackEnd\Components\Communications\NodeProviderOutOfProc.cs (9)
55return ComponentHost.BuildParameters.MaxNodeCount - _nodeContexts.Count; 85if (_nodeContexts.Count + numberOfNodesToCreate > ComponentHost.BuildParameters.MaxNodeCount) 87ErrorUtilities.ThrowInternalError("Exceeded max node count of '{0}', current count is '{1}' ", ComponentHost.BuildParameters.MaxNodeCount, _nodeContexts.Count); 97string commandLineArgs = $"/nologo /nodemode:1 /nodeReuse:{ComponentHost.BuildParameters.EnableNodeReuse.ToString().ToLower()} /low:{ComponentHost.BuildParameters.LowPriority.ToString().ToLower()}"; 101Handshake hostHandshake = new(CommunicationsUtilities.GetHandshakeOptions(taskHost: false, architectureFlagToSet: XMakeAttributes.GetCurrentMSBuildArchitecture(), nodeReuse: ComponentHost.BuildParameters.EnableNodeReuse, lowPriority: ComponentHost.BuildParameters.LowPriority)); 111throw new BuildAbortedException(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("CouldNotConnectToMSBuildExe", ComponentHost.BuildParameters.NodeExeLocation)); 160bool nodeReuse = ComponentHost.BuildParameters?.EnableNodeReuse ?? true;
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (3)
215ShutdownAllNodes(ComponentHost.BuildParameters.EnableNodeReuse, NodeContextTerminated); 541string commandLineArgs = $" /nologo /nodemode:2 /nodereuse:{ComponentHost.BuildParameters.EnableNodeReuse} /low:{ComponentHost.BuildParameters.LowPriority} ";