31 writes to EnableNodeReuse
Microsoft.Build.Engine.UnitTests (27)
BackEnd\BuildManager_Logging_Tests.cs (1)
149EnableNodeReuse = false,
BackEnd\BuildManager_Tests.cs (18)
82EnableNodeReuse = false 362EnableNodeReuse = true, 445var customparameters = new BuildParameters { EnableNodeReuse = false, Loggers = new ILogger[] { _logger } }; 510EnableNodeReuse = false, 712EnableNodeReuse = false 782EnableNodeReuse = false 1538EnableNodeReuse = false 2666_parameters.EnableNodeReuse = false; 2736_parameters.EnableNodeReuse = false; 2833_parameters.EnableNodeReuse = false; 2933_parameters.EnableNodeReuse = false; 3019_parameters.EnableNodeReuse = false; 3298EnableNodeReuse = false 3716EnableNodeReuse = false, 3782EnableNodeReuse = false, 3868EnableNodeReuse = false, 3937EnableNodeReuse = false, 4039EnableNodeReuse = false,
BackEnd\SdkResultOutOfProc_Tests.cs (3)
62EnableNodeReuse = false 126var customparameters = new BuildParameters { EnableNodeReuse = false, Loggers = new ILogger[] { _logger } }; 171var customparameters = new BuildParameters { EnableNodeReuse = false, Loggers = new ILogger[] { _logger } };
BackEnd\TaskBuilder_Tests.cs (1)
176EnableNodeReuse = false
Construction\SolutionProjectGenerator_Tests.cs (2)
2123parameters.EnableNodeReuse = false; 2211parameters.EnableNodeReuse = false;
EvaluationProfiler_Tests.cs (1)
275EnableNodeReuse = false,
Graph\IsolateProjects_Tests.cs (1)
151EnableNodeReuse = false,
Microsoft.Build.Tasks.UnitTests (1)
CreateItem_Tests.cs (1)
213EnableNodeReuse = false,
Microsoft.Build.UnitTests.Shared (2)
EngineTestEnvironment.cs (1)
51EnableNodeReuse = false,
ObjectModelHelpers.cs (1)
2088actualBuildParameters.EnableNodeReuse = enableNodeReuse;
MSBuild (1)
XMake.cs (1)
1471parameters.EnableNodeReuse = enableNodeReuse;
11 references to EnableNodeReuse
Microsoft.Build (11)
BackEnd\BuildManager\BuildManager.cs (4)
2085_nodeManager?.ShutdownConnectedNodes(!abort && _buildParameters!.EnableNodeReuse); 2092_taskHostNodeManager?.ShutdownConnectedNodes(_buildParameters!.EnableNodeReuse); 2499_nodeManager!.ShutdownConnectedNodes(_buildParameters!.EnableNodeReuse); 2500_taskHostNodeManager!.ShutdownConnectedNodes(_buildParameters.EnableNodeReuse);
BackEnd\Components\Communications\NodeProviderInProc.cs (1)
322if (!_componentHost.BuildParameters.EnableNodeReuse)
BackEnd\Components\Communications\NodeProviderOutOfProc.cs (3)
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)); 160bool nodeReuse = ComponentHost.BuildParameters?.EnableNodeReuse ?? true;
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
226if (_componentHost.BuildParameters.EnableNodeReuse)
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (2)
215ShutdownAllNodes(ComponentHost.BuildParameters.EnableNodeReuse, NodeContextTerminated); 541string commandLineArgs = $" /nologo /nodemode:2 /nodereuse:{ComponentHost.BuildParameters.EnableNodeReuse} /low:{ComponentHost.BuildParameters.LowPriority} ";