247 references to Id
aspire (12)
Aspire.Cli.Tests (23)
Aspire.Hosting (4)
Aspire.Hosting.Azure (2)
Aspire.Hosting.Docker (2)
Aspire.Hosting.Kubernetes (2)
Aspire.Hosting.Sdk.Tests (1)
Aspire.Hosting.Tests (18)
Aspire.Managed.Tests (3)
csc (3)
datacollector (2)
datacollector.arm64 (2)
dotnet (3)
src\sdk\artifacts\.packages\microsoft.codeanalysis.buildclient\5.12.0-1.26430.105\contentFiles\cs\net11.0\BuildServerConnection.cs (1)
674processId = process.Id;
dotnet-aot (1)
dotnet-format (1)
dotnet-svcutil-lib (4)
Microsoft.AspNetCore.InternalTesting (1)
Microsoft.AspNetCore.Server.IntegrationTesting (9)
Microsoft.AspNetCore.SpaProxy (4)
Microsoft.Build (46)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (41)
181Stream nodeStream = TryConnectToProcess(nodeProcess.Id, timeout, NodeProviderOutOfProc.GetHandshake(nodeReuse, false), out HandshakeResult result);
186nodeStream = TryConnectToProcess(nodeProcess.Id, timeout, NodeProviderOutOfProc.GetHandshake(nodeReuse, true), out result);
192CommunicationsUtilities.Trace($"Shutting down node with pid = {nodeProcess.Id}");
322CommunicationsUtilities.Trace($"Trying to connect to existing process {nodeToReuse.ProcessName} with id {nodeToReuse.Id} to establish node {nodeId}...");
323if (nodeToReuse.Id == currentProcessId)
329string nodeLookupKey = GetProcessesToIgnoreKey(nodeLaunchData.Handshake, nodeToReuse.Id);
339MSBuildEventSource.Log.NodePipeConnectStart(nodeId, nodeToReuse.Id);
340Stream nodeStream = TryConnectToProcess(nodeToReuse.Id, 0 /* poll, don't wait for connections */, nodeLaunchData.Handshake, out HandshakeResult result);
341MSBuildEventSource.Log.NodePipeConnectStop(nodeId, nodeToReuse.Id, succeeded: nodeStream != null);
345CommunicationsUtilities.Trace($"Successfully connected to existing node {nodeId} which is PID {nodeToReuse.Id}");
346string msg = ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword("NodeReused", nodeId, nodeToReuse.Id);
353MSBuildEventSource.Log.NodeConnectStop(nodeId, nodeToReuse.Id, isReused: true);
394MSBuildEventSource.Log.NodeLaunchStop(nodeId, msbuildProcess.Id);
396_processesToIgnore.TryAdd(GetProcessesToIgnoreKey(nodeLaunchData.Handshake, msbuildProcess.Id), default);
403MSBuildEventSource.Log.NodePipeConnectStart(nodeId, msbuildProcess.Id);
404Stream nodeStream = TryConnectToProcess(msbuildProcess.Id, TimeoutForNewNodeCreation, nodeLaunchData.Handshake, out HandshakeResult result);
405MSBuildEventSource.Log.NodePipeConnectStop(nodeId, msbuildProcess.Id, succeeded: nodeStream != null);
409CommunicationsUtilities.Trace($"Successfully connected to created node {nodeId} which is PID {msbuildProcess.Id}");
412MSBuildEventSource.Log.NodeConnectStop(nodeId, msbuildProcess.Id, isReused: false);
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");
491processes.Sort(static (left, right) => left.Id.CompareTo(right.Id));
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}");
612$"Skipping process {process.Id} - NodeMode mismatch. Expected: {expectedNodeMode}, Found: {processNodeMode?.ToString() ?? "<null>"}. Command line: {commandLine}");
617CommunicationsUtilities.Trace($"Skipping process {process.Id} - error retrieving command line: {ex.Message}");
621filtered.Sort(static (left, right) => left.Id.CompareTo(right.Id));
785filteredProcesses.Sort((left, right) => left.Id.CompareTo(right.Id));
789Array.Sort(processes, (left, right) => left.Id.CompareTo(right.Id));
1398CommunicationsUtilities.Trace($"Waiting for node with pid = {_process.Id} to exit");
1425_process.Id);
1426CommunicationsUtilities.Trace($"Killing node with pid = {_process.Id}");
1435CommunicationsUtilities.Trace(_nodeId, $"COMMUNICATIONS ERROR (HRC) Node: {_nodeId} Process: {_process.Id} Bytes Read: {bytesRead} Expected: {_headerByte.Length}");
1440CommunicationsUtilities.Trace(_nodeId, $" Child Process {_process.Id} has exited.");
1444CommunicationsUtilities.Trace(_nodeId, $" Child Process {_process.Id} is still running.");
Microsoft.Build.Framework (2)
Microsoft.Build.Tasks.CodeAnalysis (3)
Microsoft.CodeAnalysis.BuildClient.Package (2)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.Diagnostics.NETCore.Client (2)
Microsoft.DotNet.Cli.Utils (1)
Microsoft.DotNet.HotReload.Watch (1)
Microsoft.Extensions.Telemetry (1)
Microsoft.Extensions.Telemetry.Tests (1)
Microsoft.TestPlatform.Build (2)
Microsoft.TestPlatform.Extensions.BlameDataCollector (42)
Microsoft.TestPlatform.PlatformAbstractions (8)
Microsoft.TestPlatform.TestHostRuntimeProvider (7)
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (2)
NuGet.Protocol (4)
Stress.TelemetryService (1)
System.Diagnostics.Process (5)
testhost (2)
testhost.arm64 (2)
testhost.x86 (2)
UIAutomationClientSideProviders (1)
vbc (3)
VBCSCompiler (4)
vstest.console (2)
vstest.console.arm64 (2)