26 references to Trace
MSBuildTaskHost (26)
BackEnd\NodeEndpointOutOfProcTaskHost.cs (21)
221
CommunicationsUtilities.
Trace
($"Changing link status from {_status} to {newStatus}");
259
CommunicationsUtilities.
Trace
($"Waiting for connection {waitTimeRemaining} ms...");
263
CommunicationsUtilities.
Trace
("Connection timed out waiting a host to contact us. Exiting comm thread.");
268
CommunicationsUtilities.
Trace
("Parent started connecting. Reading handshake from parent");
288
CommunicationsUtilities.
Trace
($"Handshake failed with error: {result.ErrorMessage}");
293
CommunicationsUtilities.
Trace
($"Handshake failed. Received {result.Value} from host for {component.Key} but expected {component.Value}. Probably the host is a different MSBuild build.");
313
CommunicationsUtilities.
Trace
($"Sent PacketVersion: {NodePacketTypeExtensions.PacketVersion}");
316
CommunicationsUtilities.
Trace
("Successfully connected to parent.");
329
CommunicationsUtilities.
Trace
($"Handshake failed. Host user is {clientIdentityName} but we were created by {currentIdentity.Name}.");
343
CommunicationsUtilities.
Trace
($"Client connection failed but we will wait for another connection. Exception: {e.Message}");
366
CommunicationsUtilities.
Trace
($"Client connection failed. Exiting comm thread. {e}");
385
CommunicationsUtilities.
Trace
("Ending read loop");
411
CommunicationsUtilities.
Trace
($"Handshake failed. Received {handshakePart} from host for {component.Key} but expected {component.Value}. Probably the host is a different MSBuild build.");
431
CommunicationsUtilities.
Trace
("Entering read loop.");
461
CommunicationsUtilities.
Trace
($"Exception reading from server. {e}");
475
CommunicationsUtilities.
Trace
("Parent disconnected gracefully.");
483
CommunicationsUtilities.
Trace
("Parent disconnected abruptly.");
489
CommunicationsUtilities.
Trace
($"Incomplete header read from server. {bytesRead} of {headerByte.Length} bytes read");
521
CommunicationsUtilities.
Trace
($"Exception while deserializing packet {packetType}: {e}");
569
CommunicationsUtilities.
Trace
($"Exception while serializing packets: {e}");
578
CommunicationsUtilities.
Trace
("Disconnecting voluntarily");
CommunicationsUtilities.cs (5)
206
CommunicationsUtilities.
Trace
($"Building handshake for node type {nodeType}, (version {handshakeVersion}): options {options}.");
214
CommunicationsUtilities.
Trace
($"Handshake salt is {handshakeSalt}");
215
CommunicationsUtilities.
Trace
($"Tools directory root is {toolsDirectory}");
512
Trace
($"Node PacketVersion: {childVersion}, Local: {NodePacketTypeExtensions.PacketVersion}, Negotiated: {negotiatedPacketVersion}");
543
Trace
(errorMessage);