54 references to ProcessName
dotnet-svcutil-lib (2)
Shared\Utilities\DebugUtils.cs (1)
44
Console.WriteLine("Process ID: {0}, Name:{1}", process.Id, process.
ProcessName
);
Shared\Utilities\ProcessRunner.cs (1)
114
Console.WriteLine($"Starting process in the background: {Path.GetFileName(proc.
ProcessName
)}, ID: {proc.Id}.");
HelixTestRunner (2)
ProcessUtil.cs (2)
33
var dumpFilePath = Path.Combine(dumpDirectoryPath, $"{process.
ProcessName
}-{process.Id}.dmp");
48
var dumpFilePath = Path.Combine(dumpDirectoryPath, $"{process.
ProcessName
}.{process.Id}.dmp");
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
248
logger.LogError($"{hostingProcess.
ProcessName
} pid: {hostingProcess.Id} hasExited: {hostingProcess.HasExited.ToString()}");
IIS.LongTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
248
logger.LogError($"{hostingProcess.
ProcessName
} pid: {hostingProcess.Id} hasExited: {hostingProcess.HasExited.ToString()}");
IIS.NewHandler.FunctionalTests (2)
NewHandlerTests.cs (1)
42
throw new XunitException($"Could not find aspnetcorev2.dll loaded in process {result.HostProcess.
ProcessName
}");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
248
logger.LogError($"{hostingProcess.
ProcessName
} pid: {hostingProcess.Id} hasExited: {hostingProcess.HasExited.ToString()}");
IIS.NewShim.FunctionalTests (2)
NewShimTests.cs (1)
36
throw new XunitException($"Could not find aspnetcorev2_inprocess.dll loaded in process {result.HostProcess.
ProcessName
}");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
248
logger.LogError($"{hostingProcess.
ProcessName
} pid: {hostingProcess.Id} hasExited: {hostingProcess.HasExited.ToString()}");
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
248
logger.LogError($"{hostingProcess.
ProcessName
} pid: {hostingProcess.Id} hasExited: {hostingProcess.HasExited.ToString()}");
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
248
logger.LogError($"{hostingProcess.
ProcessName
} pid: {hostingProcess.Id} hasExited: {hostingProcess.HasExited.ToString()}");
InteropTests (2)
src\Shared\Process\ProcessEx.cs (2)
60
var timeoutExMessage = $"Process proc {proc.
ProcessName
} {proc.StartInfo.Arguments} timed out after {timeout}.";
199
Assert.Fail($"Process {_process.
ProcessName
} with pid: {_process.Id} has not finished running.");
Microsoft.AspNetCore.Server.IntegrationTesting (2)
src\Shared\Process\ProcessEx.cs (2)
60
var timeoutExMessage = $"Process proc {proc.
ProcessName
} {proc.StartInfo.Arguments} timed out after {timeout}.";
199
Assert.Fail($"Process {_process.
ProcessName
} with pid: {_process.Id} has not finished running.");
Microsoft.Build (3)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (1)
267
CommunicationsUtilities.Trace("Trying to connect to existing process {2} with id {1} to establish node {0}...", nodeId, nodeToReuse.Id, nodeToReuse.
ProcessName
);
DebugUtils.cs (2)
95
Process.GetCurrentProcess().
ProcessName
.Contains(processNameToBreakInto);
101
$"{ProcessNodeMode.Value}_{Process.GetCurrentProcess().
ProcessName
}_PID={Process.GetCurrentProcess().Id}_x{(Environment.Is64BitProcess ? "64" : "86")}";
Microsoft.Build.Engine.OM.UnitTests (2)
DebugUtils.cs (2)
95
Process.GetCurrentProcess().
ProcessName
.Contains(processNameToBreakInto);
101
$"{ProcessNodeMode.Value}_{Process.GetCurrentProcess().
ProcessName
}_PID={Process.GetCurrentProcess().Id}_x{(Environment.Is64BitProcess ? "64" : "86")}";
Microsoft.Build.Tasks.Core (2)
DebugUtils.cs (2)
95
Process.GetCurrentProcess().
ProcessName
.Contains(processNameToBreakInto);
101
$"{ProcessNodeMode.Value}_{Process.GetCurrentProcess().
ProcessName
}_PID={Process.GetCurrentProcess().Id}_x{(Environment.Is64BitProcess ? "64" : "86")}";
Microsoft.Build.Utilities.Core (3)
DebugUtils.cs (2)
95
Process.GetCurrentProcess().
ProcessName
.Contains(processNameToBreakInto);
101
$"{ProcessNodeMode.Value}_{Process.GetCurrentProcess().
ProcessName
}_PID={Process.GetCurrentProcess().Id}_x{(Environment.Is64BitProcess ? "64" : "86")}";
ToolTask.cs (1)
983
processName = proc.
ProcessName
;
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
src\VisualStudio\Core\Def\Watson\FaultReporter.cs (1)
131
var logMessage = $"[{currentProcess.
ProcessName
}:{currentProcess.Id}] Unexpected exception: {exception}";
Microsoft.DotNet.RemoteExecutor (2)
RemoteInvokeHandle.cs (2)
123
description.AppendLine($"Process: {p.Id} {p.
ProcessName
} PrivateMemory: {p.PrivateMemorySize64}");
173
description.AppendLine($"\tName: {Process.
ProcessName
}");
Microsoft.Extensions.ApiDescription.Client.Tests (2)
src\Shared\Process\ProcessEx.cs (2)
60
var timeoutExMessage = $"Process proc {proc.
ProcessName
} {proc.StartInfo.Arguments} timed out after {timeout}.";
199
Assert.Fail($"Process {_process.
ProcessName
} with pid: {_process.Id} has not finished running.");
Microsoft.Extensions.Hosting.WindowsServices (1)
WindowsServiceHelpers.cs (1)
46
return string.Equals("services", parent.
ProcessName
, StringComparison.OrdinalIgnoreCase);
Microsoft.ML.TestFramework (1)
CopyAction.cs (1)
47
if (System.Diagnostics.Process.GetCurrentProcess().
ProcessName
== "dotnet")
Microsoft.VisualStudio.LanguageServices (1)
Watson\FaultReporter.cs (1)
131
var logMessage = $"[{currentProcess.
ProcessName
}:{currentProcess.Id}] Unexpected exception: {exception}";
MSBuild (2)
DebugUtils.cs (2)
95
Process.GetCurrentProcess().
ProcessName
.Contains(processNameToBreakInto);
101
$"{ProcessNodeMode.Value}_{Process.GetCurrentProcess().
ProcessName
}_PID={Process.GetCurrentProcess().Id}_x{(Environment.Is64BitProcess ? "64" : "86")}";
RunTests (3)
Program.cs (3)
219
var name = targetProcess.
ProcessName
;
271
foreach (var proc in ProcessUtil.GetProcessTree(Process.GetCurrentProcess()).OrderBy(x => x.
ProcessName
))
274
var dumpFilePath = Path.Combine(dumpDir, $"{proc.
ProcessName
}-{counter}.dmp");
System.Diagnostics.TextWriterTraceListener (1)
System\Diagnostics\XmlWriterTraceListener.cs (1)
260
processName = process.
ProcessName
;
System.Windows.Forms.UI.IntegrationTests (3)
DragDropTests.cs (3)
494
if (process.
ProcessName
== Explorer && process.MainWindowTitle == directory)
518
if (process.
ProcessName
== Explorer && process.MainWindowTitle == directory)
564
if (process.
ProcessName
== Explorer && process.MainWindowTitle == directory)
Templates.Blazor.Tests (2)
src\Shared\Process\ProcessEx.cs (2)
60
var timeoutExMessage = $"Process proc {proc.
ProcessName
} {proc.StartInfo.Arguments} timed out after {timeout}.";
199
Assert.Fail($"Process {_process.
ProcessName
} with pid: {_process.Id} has not finished running.");
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\Shared\Process\ProcessEx.cs (2)
60
var timeoutExMessage = $"Process proc {proc.
ProcessName
} {proc.StartInfo.Arguments} timed out after {timeout}.";
199
Assert.Fail($"Process {_process.
ProcessName
} with pid: {_process.Id} has not finished running.");
Templates.Blazor.WebAssembly.Tests (2)
src\Shared\Process\ProcessEx.cs (2)
60
var timeoutExMessage = $"Process proc {proc.
ProcessName
} {proc.StartInfo.Arguments} timed out after {timeout}.";
199
Assert.Fail($"Process {_process.
ProcessName
} with pid: {_process.Id} has not finished running.");
Templates.Mvc.Tests (2)
src\Shared\Process\ProcessEx.cs (2)
60
var timeoutExMessage = $"Process proc {proc.
ProcessName
} {proc.StartInfo.Arguments} timed out after {timeout}.";
199
Assert.Fail($"Process {_process.
ProcessName
} with pid: {_process.Id} has not finished running.");
Templates.Tests (2)
src\Shared\Process\ProcessEx.cs (2)
60
var timeoutExMessage = $"Process proc {proc.
ProcessName
} {proc.StartInfo.Arguments} timed out after {timeout}.";
199
Assert.Fail($"Process {_process.
ProcessName
} with pid: {_process.Id} has not finished running.");
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\Misc.cs (1)
1838
string processName = System.Diagnostics.Process.GetProcessById((int)processId).
ProcessName
;