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