225 references to CommunicationsUtilities
Microsoft.Build (140)
BackEnd\BuildManager\BuildParameters.cs (2)
294? CommunicationsUtilities.GetEnvironmentVariables() 1034_buildProcessEnvironment = CommunicationsUtilities.GetEnvironmentVariables();
BackEnd\Client\MSBuildClient.cs (29)
163CommunicationsUtilities.Trace($"Executing build with command line '{descriptiveCommandLine}'"); 174CommunicationsUtilities.Trace("Server was not running. Starting server now."); 186CommunicationsUtilities.Trace("Server is busy, falling back to former behavior."); 201CommunicationsUtilities.Trace($"Failed to obtain the current build server state: {ex}"); 202CommunicationsUtilities.Trace($"HResult: {ex.HResult}."); 220CommunicationsUtilities.Trace("Build finished."); 246CommunicationsUtilities.Trace("Trying shutdown server node."); 251CommunicationsUtilities.Trace("No need to shutdown server node for it is not running."); 260CommunicationsUtilities.Trace("Server cannot be shut down for it is not idle."); 267CommunicationsUtilities.Trace("Client cannot connect to idle server to shut it down."); 273CommunicationsUtilities.Trace("Failed to send shutdown command to the server."); 288CommunicationsUtilities.Trace("Wait for server to be not busy - will retry soon..."); 360CommunicationsUtilities.Trace($"MSBuild client error: problem during packet handling occurred: {ex}."); 385CommunicationsUtilities.Trace($"MSBuild client warning: problem during querying console buffer width: {ex}"); 418CommunicationsUtilities.Trace($"Command packet of type '{packet.Type}' sent..."); 422CommunicationsUtilities.Trace($"Failed to send command packet of type '{packet?.Type.ToString() ?? "Unknown"}' to server: {ex}"); 446CommunicationsUtilities.Trace("Another process launching the msbuild server, falling back to former behavior."); 453CommunicationsUtilities.Trace($"Failed to obtain the current build server state: {ex}"); 454CommunicationsUtilities.Trace($"HResult: {ex.HResult}."); 467CommunicationsUtilities.Trace("Starting Server..."); 479CommunicationsUtilities.Trace($"Server started with PID: {_launchedServerPid}"); 483CommunicationsUtilities.Trace($"Failed to launch the msbuild server: {ex}"); 497CommunicationsUtilities.Trace("Sending shutdown command to server."); 538private ServerNodeHandshake GetHandshake() => new(CommunicationsUtilities.GetHandshakeOptions( 550CommunicationsUtilities.Trace("MSBuild client sent cancellation command."); 560CommunicationsUtilities.Trace($"MSBuild client error: packet pump unexpectedly shut down: {packetPump.PacketPumpException}"); 605CommunicationsUtilities.Trace($"Build response received: exit code '{response.ExitCode}', exit type '{response.ExitType}'"); 661CommunicationsUtilities.Trace($"Retrying to connect to server after {sw.ElapsedMilliseconds} ms"); 724CommunicationsUtilities.Trace(
BackEnd\Client\MSBuildClientPacketPump.cs (5)
201CommunicationsUtilities.Trace("Entering read loop."); 234CommunicationsUtilities.Trace("Shutdown message pump thread."); 297CommunicationsUtilities.Trace($"Packet factory failed to receive package. Exception while deserializing packet {packetType}."); 328CommunicationsUtilities.Trace($"Exception occurred in the packet pump: {ex}"); 332CommunicationsUtilities.Trace("Ending read loop.");
BackEnd\Components\Communications\NodeEndpointOutOfProc.cs (1)
37HandshakeOptions handshakeOptions = CommunicationsUtilities.GetHandshakeOptions(
BackEnd\Components\Communications\NodeLauncher.cs (3)
69CommunicationsUtilities.Trace($"Launching node from {nodeLaunchData.MSBuildLocation}"); 138CommunicationsUtilities.Trace($"Successfully launched {exeName} node with PID {process.Id}"); 143CommunicationsUtilities.Trace(
BackEnd\Components\Communications\NodeProviderInProc.cs (1)
381int connectionTimeout = CommunicationsUtilities.NodeConnectionTimeout;
BackEnd\Components\Communications\NodeProviderOutOfProc.cs (4)
72CommunicationsUtilities.Trace($"""MSBUILDNODEHANDSHAKESALT="{Traits.MSBuildNodeHandshakeSalt}", msbuildDirectory="{BuildEnvironmentHelper.Instance.MSBuildToolsDirectory32}", enableNodeReuse={enableNodeReuse}, enableLowPriority={enableLowPriority}"""); 73return new Handshake(CommunicationsUtilities.GetHandshakeOptions(taskHost: false, taskHostParameters: TaskHostParameters.Empty, architectureFlagToSet: XMakeAttributes.GetCurrentMSBuildArchitecture(), nodeReuse: enableNodeReuse, lowPriority: enableLowPriority)); 91Handshake hostHandshake = new(CommunicationsUtilities.GetHandshakeOptions(taskHost: false, taskHostParameters: TaskHostParameters.Empty, architectureFlagToSet: XMakeAttributes.GetCurrentMSBuildArchitecture(), nodeReuse: ComponentHost.BuildParameters.EnableNodeReuse, lowPriority: ComponentHost.BuildParameters.LowPriority)); 103CommunicationsUtilities.Trace($"Starting to acquire {numberOfNodesToCreate} new or existing node(s) to establish nodes from ID {nextNodeId} to {nextNodeId + numberOfNodesToCreate - 1}...");
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (38)
192CommunicationsUtilities.Trace($"Shutting down node with pid = {nodeProcess.Id}"); 279CommunicationsUtilities.Trace($"Attempting to connect to {possibleRunningNodesList.Count} existing processes '{expectedProcessName}'..."); 300CommunicationsUtilities.Trace("FAILED TO CONNECT TO A CHILD NODE"); 322CommunicationsUtilities.Trace($"Trying to connect to existing process {nodeToReuse.ProcessName} with id {nodeToReuse.Id} to establish node {nodeId}..."); 345CommunicationsUtilities.Trace($"Successfully connected to existing node {nodeId} which is PID {nodeToReuse.Id}"); 364CommunicationsUtilities.Trace("Could not connect to existing process, now creating a process..."); 409CommunicationsUtilities.Trace($"Successfully connected to created node {nodeId} which is PID {msbuildProcess.Id}"); 422CommunicationsUtilities.Trace($"Could not connect to node with PID {msbuildProcess.Id}; it has exited with exit code {msbuildProcess.ExitCode}. This can indicate a crash at startup"); 428CommunicationsUtilities.Trace($"Could not connect to node with PID {msbuildProcess.Id}; it has exited with unknown exit code. This can indicate a crash at startup"); 434CommunicationsUtilities.Trace($"Could not connect to node with PID {msbuildProcess.Id}; it is still running. This can occur when two multiprocess builds run in parallel and the other one 'stole' this node"); 580CommunicationsUtilities.Trace($"Filtering {processes.Count} candidate processes by NodeMode {expectedNodeMode} for process name '{expectedProcessName}'"); 590CommunicationsUtilities.Trace($"Skipping process {process.Id} - unable to retrieve command line"); 598CommunicationsUtilities.Trace($"Including process {process.Id} - command line retrieval not supported on this platform"); 606CommunicationsUtilities.Trace($"Including process {process.Id} with matching NodeMode {processNodeMode.Value}"); 611CommunicationsUtilities.Trace( 617CommunicationsUtilities.Trace($"Skipping process {process.Id} - error retrieving command line: {ex.Message}"); 623CommunicationsUtilities.Trace($"Filtered to {filtered.Count} processes matching NodeMode {expectedNodeMode}"); 661CommunicationsUtilities.Trace($"Node reuse threshold is 0, terminating all {nodeCount} nodes"); 668CommunicationsUtilities.Trace($"System-wide node count: {systemWideNodeCount}, threshold: {maxNodesToKeep}, this instance has: {nodeCount} nodes"); 685CommunicationsUtilities.Trace($"Keeping {nodesToKeepInThisInstance} of {nodeCount} nodes in this instance to help meet threshold of {maxNodesToKeep}"); 735CommunicationsUtilities.Trace($"Error counting system-wide nodes with mode {nodeMode}: {ex.Message}"); 833CommunicationsUtilities.Trace($"Attempting connect to PID {nodeProcessId} with pipe {pipeName} with timeout {timeout} ms"); 843CommunicationsUtilities.Trace($"Failed to connect to pipe {pipeName}. {result.ErrorMessage.TrimEnd()}"); 855CommunicationsUtilities.Trace($"Failed to connect to pipe {pipeName}. {e.Message.TrimEnd()}"); 892CommunicationsUtilities.Trace($"Writing handshake part {component.Key} ({component.Value}) to pipe {pipeName}"); 899CommunicationsUtilities.Trace($"Reading handshake from pipe {pipeName}"); 909CommunicationsUtilities.Trace($"Successfully connected to pipe {pipeName}...!"); 1102CommunicationsUtilities.Trace(_nodeId, $"EXCEPTION in RunPacketReadLoopAsync: {e}"); 1135CommunicationsUtilities.Trace(_nodeId, $"EXCEPTION in RunPacketReadLoopAsync (Reading): {e}"); 1250CommunicationsUtilities.Trace(context._nodeId, $"EXCEPTION in SendData: {e}"); 1305CommunicationsUtilities.Trace($"Waiting for node with pid = {_process.Id} to exit"); 1333CommunicationsUtilities.Trace($"Killing node with pid = {_process.Id}"); 1342CommunicationsUtilities.Trace(_nodeId, $"COMMUNICATIONS ERROR (HRC) Node: {_nodeId} Process: {_process.Id} Bytes Read: {bytesRead} Expected: {_headerByte.Length}"); 1347CommunicationsUtilities.Trace(_nodeId, $" Child Process {_process.Id} has exited."); 1351CommunicationsUtilities.Trace(_nodeId, $" Child Process {_process.Id} is still running."); 1356CommunicationsUtilities.Trace(_nodeId, $"Unable to retrieve remote process information. {e}"); 1418CommunicationsUtilities.Trace(_nodeId, $"Bad packet read for packet {packetType} - Expected {packetLength} bytes, got {bytesRead}"); 1435CommunicationsUtilities.Trace(_nodeId, $"EXCEPTION in ReadAndRoutePacket: {e}");
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (4)
686CommunicationsUtilities.Trace($"DisconnectFromHost: Node context already removed for key: {nodeKey}"); 732CommunicationsUtilities.Trace($"For a host context of {hostContext}, spawning executable from {nodeLaunchData.MSBuildLocation}."); 816CommunicationsUtilities.Trace($"For a host context of {hostContext}, using app host from {launchPath}."); 838CommunicationsUtilities.Trace($"For a host context of {hostContext}, app host not found, falling back to dotnet.exe ({resolvedDotnetHostPath}) hosting {launchPath}.");
BackEnd\Components\Communications\RarNodeLauncher.cs (3)
34CommunicationsUtilities.Trace("Existing RAR node found."); 38CommunicationsUtilities.Trace("Launching RAR node..."); 46CommunicationsUtilities.Trace($"Failed to launch RAR node: {ex}");
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
913entryToComplete.RequestConfiguration.SavedEnvironmentVariables = entryToComplete.TaskEnvironment.GetEnvironmentVariables().ToFrozenDictionary(CommunicationsUtilities.EnvironmentVariableComparer); 1397_requestEntry.RequestConfiguration.SavedEnvironmentVariables = _requestEntry.TaskEnvironment.GetEnvironmentVariables().ToFrozenDictionary(CommunicationsUtilities.EnvironmentVariableComparer);
BackEnd\Node\InProcNode.cs (2)
349CommunicationsUtilities.SetEnvironment(_savedEnvironment); 479_savedEnvironment = CommunicationsUtilities.GetEnvironmentVariables();
BackEnd\Node\OutOfProcNode.cs (5)
459CommunicationsUtilities.Trace($"Shutting down with reason: {_shutdownReason}, and exception: {_shutdownException}."); 503CommunicationsUtilities.SetEnvironment(_savedEnvironment); 507CommunicationsUtilities.Trace($"Failed to restore the original environment: {ex}."); 544CommunicationsUtilities.Trace("Shut down complete."); 717_savedEnvironment = CommunicationsUtilities.GetEnvironmentVariables();
BackEnd\Node\OutOfProcServerNode.cs (8)
97CommunicationsUtilities.GetHandshakeOptions(taskHost: false, taskHostParameters: TaskHostParameters.Empty, architectureFlagToSet: XMakeAttributes.GetCurrentMSBuildArchitecture())); 103CommunicationsUtilities.Trace($"Starting new server node with handshake {handshake}"); 258CommunicationsUtilities.Trace($"Shutting down with reason: {_shutdownReason}, and exception: {_shutdownException}."); 269CommunicationsUtilities.Trace("Shut down complete."); 339CommunicationsUtilities.Trace($"Terminating server node due to over-provisioning: {serverNodeCount} server nodes found system-wide."); 350CommunicationsUtilities.Trace("Received request to cancel build running on MSBuild Server. MSBuild server will shutdown."); 374CommunicationsUtilities.Trace($"Building with MSBuild server with command line {command.CommandLine}"); 390CommunicationsUtilities.SetEnvironment(command.BuildProcessEnvironment);
BackEnd\Shared\BuildRequestConfiguration.cs (1)
957translator.TranslateDictionary(ref _savedEnvironmentVariables, CommunicationsUtilities.EnvironmentVariableComparer);
BackEnd\Shared\BuildResult.cs (4)
669translator.TranslateDictionary(ref _savedEnvironmentVariables, CommunicationsUtilities.EnvironmentVariableComparer); 682translator.TranslateDictionary(ref savedEnvironmentVariables, CommunicationsUtilities.EnvironmentVariableComparer, ref additionalEntries, s_additionalEntriesKeys); 690translator.TranslateDictionary(ref savedEnvironmentVariables, CommunicationsUtilities.EnvironmentVariableComparer, ref additionalEntries, s_additionalEntriesKeys); 692.ToFrozenDictionary(CommunicationsUtilities.EnvironmentVariableComparer); // no-op if already frozen
Evaluation\IntrinsicFunctions.cs (3)
435=> CommunicationsUtilities.GetHashCode(toHash); 449StringHashingAlgorithm.Legacy => CommunicationsUtilities.GetHashCode(toHash), 507HandshakeOptions desiredContext = CommunicationsUtilities.GetHandshakeOptions(taskHost: true, taskHostParameters: parameters);
Instance\TaskFactories\TaskHostTask.cs (1)
364_requiredContext = CommunicationsUtilities.GetHandshakeOptions(
src\msbuild\src\Shared\NodeEndpointOutOfProcBase.cs (23)
293CommunicationsUtilities.Trace($"Changing link status from {_status} to {newStatus}"); 380int waitTimeRemaining = Math.Max(0, CommunicationsUtilities.NodeConnectionTimeout - (int)usedWaitTime.TotalMilliseconds); 391CommunicationsUtilities.Trace($"Waiting for connection {waitTimeRemaining} ms..."); 396CommunicationsUtilities.Trace("Connection timed out waiting a host to contact us. Exiting comm thread."); 401CommunicationsUtilities.Trace("Parent started connecting. Reading handshake from parent"); 419byteToAccept: index == 0 ? (byte?)CommunicationsUtilities.handshakeVersion : null, /* this will disconnect a < 16.8 host; it expects leading 00 or F5 or 06. 0x00 is a wildcard */ 425CommunicationsUtilities.Trace($"Handshake failed with error: {result.ErrorMessage}"); 430CommunicationsUtilities.Trace( 457CommunicationsUtilities.Trace($"Sent PacketVersion: {NodePacketTypeExtensions.PacketVersion}"); 460CommunicationsUtilities.Trace("Successfully connected to parent."); 487CommunicationsUtilities.Trace($"Client connection failed but we will wait for another connection. Exception: {e.Message}"); 509CommunicationsUtilities.Trace($"Client connection failed. Exiting comm thread. {e}"); 526CommunicationsUtilities.Trace("Ending read loop"); 575CommunicationsUtilities.Trace($"Handshake for NET Host. Child host {handshakePart} for {component.Key}."); 579CommunicationsUtilities.Trace( 616CommunicationsUtilities.Trace("Entering read loop."); 660CommunicationsUtilities.Trace($"Exception reading from server. {e}"); 674CommunicationsUtilities.Trace("Parent disconnected gracefully."); 681CommunicationsUtilities.Trace("Parent disconnected abruptly."); 687CommunicationsUtilities.Trace($"Incomplete header read from server. {bytesRead} of {headerByte.Length} bytes read"); 719CommunicationsUtilities.Trace($"Exception while deserializing packet {packetType}: {e}"); 778CommunicationsUtilities.Trace($"Exception while serializing packets: {e}"); 787CommunicationsUtilities.Trace("Disconnecting voluntarily");
Utilities\Utilities.cs (1)
487IDictionary<string, string> environmentVariablesBag = CommunicationsUtilities.GetEnvironmentVariables();
Microsoft.Build.Framework (24)
BackEnd\Handshake.cs (13)
76const int handshakeVersion = (int)CommunicationsUtilities.handshakeVersion; 78CommunicationsUtilities.Trace($"Building handshake for node type {nodeType}, (version {handshakeVersion}): options {options}."); 83int salt = CommunicationsUtilities.GetHashCode($"{handshakeSalt}{toolsDirectory}"); 85CommunicationsUtilities.Trace($"Handshake salt is {handshakeSalt}"); 86CommunicationsUtilities.Trace($"Tools directory root is {toolsDirectory}"); 137CommunicationsUtilities.AvoidEndOfHandshakeSignal(_handshakeComponents.Options), 138CommunicationsUtilities.AvoidEndOfHandshakeSignal(_handshakeComponents.Salt), 139CommunicationsUtilities.AvoidEndOfHandshakeSignal(_handshakeComponents.FileVersionMajor), 140CommunicationsUtilities.AvoidEndOfHandshakeSignal(_handshakeComponents.FileVersionMinor), 141CommunicationsUtilities.AvoidEndOfHandshakeSignal(_handshakeComponents.FileVersionBuild), 142CommunicationsUtilities.AvoidEndOfHandshakeSignal(_handshakeComponents.FileVersionPrivate), 143CommunicationsUtilities.AvoidEndOfHandshakeSignal(_handshakeComponents.SessionId)); 149=> CommunicationsUtilities.handshakeVersion;
BackEnd\ServerNodeHandshake.cs (6)
26CommunicationsUtilities.AvoidEndOfHandshakeSignal(_handshakeComponents.Options), 27CommunicationsUtilities.AvoidEndOfHandshakeSignal(_handshakeComponents.Salt), 28CommunicationsUtilities.AvoidEndOfHandshakeSignal(_handshakeComponents.FileVersionMajor), 29CommunicationsUtilities.AvoidEndOfHandshakeSignal(_handshakeComponents.FileVersionMinor), 30CommunicationsUtilities.AvoidEndOfHandshakeSignal(_handshakeComponents.FileVersionBuild), 31CommunicationsUtilities.AvoidEndOfHandshakeSignal(_handshakeComponents.FileVersionPrivate));
MultiProcessTaskEnvironmentDriver.cs (3)
54return CommunicationsUtilities.GetEnvironmentVariables(); 60CommunicationsUtilities.SetEnvironmentVariable(name, value); 66CommunicationsUtilities.SetEnvironment(newEnvironment);
MultiThreadedTaskEnvironmentDriver.cs (2)
35_environmentVariables = new Dictionary<string, string>(environmentVariables, CommunicationsUtilities.EnvironmentVariableComparer); 47_environmentVariables = new Dictionary<string, string>(variables.Count, CommunicationsUtilities.EnvironmentVariableComparer);
Microsoft.Build.Tasks.Core (26)
AssemblyDependency\Node\OutOfProcRarClient.cs (1)
47CommunicationsUtilities.Trace("Initialized new RAR client.");
AssemblyDependency\Node\OutOfProcRarNode.cs (4)
64CommunicationsUtilities.Trace($"Shutting down with reason: {shutdownReason}"); 68CommunicationsUtilities.Trace($"Shutting down with reason: {shutdownReason}, and exception: {shutdownException}"); 147CommunicationsUtilities.Trace($"{endpoints.Length} RAR endpoints started."); 156CommunicationsUtilities.Trace("All endpoints successfully stopped. Exiting.");
AssemblyDependency\Node\OutOfProcRarNodeEndpoint.cs (7)
48CommunicationsUtilities.Trace($"({_endpointId}) Starting RAR endpoint."); 59CommunicationsUtilities.Trace($"({_endpointId}) RAR endpoint stopped due to cancellation."); 88CommunicationsUtilities.Trace($"({_endpointId}) Received request."); 96CommunicationsUtilities.Trace($"({_endpointId}) Executing RAR..."); 116CommunicationsUtilities.Trace($"({_endpointId}) Completed RAR request."); 123CommunicationsUtilities.Trace($"({_endpointId}) RAR client disconnected."); 133CommunicationsUtilities.Trace($"({_endpointId}) Exception while executing RAR request: {e}");
AssemblyDependency\ResolveAssemblyReference.cs (1)
3446CommunicationsUtilities.Trace($"RAR out-of-proc connection failed, failing back to in-proc. Exception: {ex}");
src\msbuild\src\Shared\NodePipeClient.cs (4)
40CommunicationsUtilities.Trace($"Attempting connect to pipe {PipeName} with timeout {timeout} ms"); 53CommunicationsUtilities.Trace($"Successfully connected to pipe {PipeName}...!"); 83CommunicationsUtilities.Trace($"Writing handshake part {component.Key} ({component.Value}) to pipe {PipeName}"); 90CommunicationsUtilities.Trace($"Reading handshake from pipe {PipeName}");
src\msbuild\src\Shared\NodePipeServer.cs (9)
94int waitTimeRemaining = Math.Max(0, CommunicationsUtilities.NodeConnectionTimeout - (int)usedWaitTime.TotalMilliseconds); 104CommunicationsUtilities.Trace($"Waiting for connection {waitTimeRemaining} ms..."); 115CommunicationsUtilities.Trace("Connection timed out waiting a host to contact us. Exiting comm thread."); 119CommunicationsUtilities.Trace("Parent started connecting. Reading handshake from parent"); 138CommunicationsUtilities.Trace($"Client connection failed but we will wait for another connection. Exception: {e.Message}"); 153CommunicationsUtilities.Trace($"Client connection failed. Exiting comm thread. {e}"); 197_pipeServer.TryReadIntForHandshake(byteToAccept: index == 0 ? CommunicationsUtilities.handshakeVersion : null, 205CommunicationsUtilities.Trace($"Handshake failed. Received {handshakePart} from host not {component.Value}. Probably the host is a different MSBuild build."); 226CommunicationsUtilities.Trace("Successfully connected to parent.");
MSBuild (35)
NodeEndpointOutOfProcTaskHost.cs (1)
36new(CommunicationsUtilities.GetHandshakeOptions(taskHost: true, taskHostParameters: TaskHostParameters.Empty, nodeReuse: _nodeReuse));
OutOfProcTaskHostNode.cs (8)
851_savedEnvironment = CommunicationsUtilities.GetEnvironmentVariables(); 1128CommunicationsUtilities.GetEnvironmentVariables(), 1149CommunicationsUtilities.SetEnvironment(context.SavedEnvironment); 1173CommunicationsUtilities.Trace($"Nested task {taskHostConfiguration.TaskName} dispatched while {_blockedTaskCount} tasks are blocked on callbacks."); 1304CommunicationsUtilities.SetEnvironment(_savedEnvironment); 1488IDictionary<string, string> currentEnvironment = CommunicationsUtilities.GetEnvironmentVariables(); 1508CommunicationsUtilities.SetEnvironment(_savedEnvironment); 1611CommunicationsUtilities.SetEnvironment(updatedEnvironment);
src\msbuild\src\Shared\NodeEndpointOutOfProcBase.cs (23)
293CommunicationsUtilities.Trace($"Changing link status from {_status} to {newStatus}"); 380int waitTimeRemaining = Math.Max(0, CommunicationsUtilities.NodeConnectionTimeout - (int)usedWaitTime.TotalMilliseconds); 391CommunicationsUtilities.Trace($"Waiting for connection {waitTimeRemaining} ms..."); 396CommunicationsUtilities.Trace("Connection timed out waiting a host to contact us. Exiting comm thread."); 401CommunicationsUtilities.Trace("Parent started connecting. Reading handshake from parent"); 419byteToAccept: index == 0 ? (byte?)CommunicationsUtilities.handshakeVersion : null, /* this will disconnect a < 16.8 host; it expects leading 00 or F5 or 06. 0x00 is a wildcard */ 425CommunicationsUtilities.Trace($"Handshake failed with error: {result.ErrorMessage}"); 430CommunicationsUtilities.Trace( 457CommunicationsUtilities.Trace($"Sent PacketVersion: {NodePacketTypeExtensions.PacketVersion}"); 460CommunicationsUtilities.Trace("Successfully connected to parent."); 487CommunicationsUtilities.Trace($"Client connection failed but we will wait for another connection. Exception: {e.Message}"); 509CommunicationsUtilities.Trace($"Client connection failed. Exiting comm thread. {e}"); 526CommunicationsUtilities.Trace("Ending read loop"); 575CommunicationsUtilities.Trace($"Handshake for NET Host. Child host {handshakePart} for {component.Key}."); 579CommunicationsUtilities.Trace( 616CommunicationsUtilities.Trace("Entering read loop."); 660CommunicationsUtilities.Trace($"Exception reading from server. {e}"); 674CommunicationsUtilities.Trace("Parent disconnected gracefully."); 681CommunicationsUtilities.Trace("Parent disconnected abruptly."); 687CommunicationsUtilities.Trace($"Incomplete header read from server. {bytesRead} of {headerByte.Length} bytes read"); 719CommunicationsUtilities.Trace($"Exception while deserializing packet {packetType}: {e}"); 778CommunicationsUtilities.Trace($"Exception while serializing packets: {e}"); 787CommunicationsUtilities.Trace("Disconnecting voluntarily");
XMake.cs (3)
380CommunicationsUtilities.Trace($"Unexpected exception during command line parsing. Can not determine if it is allowed to use Server. Fall back to old behavior. Exception: {ex}"); 2746CommunicationsUtilities.Trace($"Invalid node packet version value '{parameters[parameters.Length - 1]}': {ex.Message}"); 2751CommunicationsUtilities.Trace($"Node packet version value '{parameters[parameters.Length - 1]}' out of range: {ex.Message}");