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