1 write to Process
Templates.Mvc.Tests (1)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
91Process = ProcessEx.Run(output, workingDirectory, process, arguments, envVars: finalEnvironmentVariables);
34 references to Process
Templates.Mvc.Tests (34)
BlazorTemplateTest.cs (2)
102process.Process.HasExited, 103ErrorMessages.GetFailedProcessMessageOrEmpty("Run built project", project, process.Process));
MvcTemplateTest.cs (10)
115aspNetProcess.Process.HasExited, 116ErrorMessages.GetFailedProcessMessageOrEmpty("Run built project", project, aspNetProcess.Process)); 124aspNetProcess.Process.HasExited, 125ErrorMessages.GetFailedProcessMessageOrEmpty("Run published project", project, aspNetProcess.Process)); 255aspNetProcess.Process.HasExited, 256ErrorMessages.GetFailedProcessMessageOrEmpty("Run built project", project, aspNetProcess.Process)); 264aspNetProcess.Process.HasExited, 265ErrorMessages.GetFailedProcessMessageOrEmpty("Run published project", project, aspNetProcess.Process)); 311aspNetProcess.Process.HasExited, 312ErrorMessages.GetFailedProcessMessageOrEmpty("Run published project", project, aspNetProcess.Process));
RazorPagesTemplateTest.cs (8)
103aspNetProcess.Process.HasExited, 104ErrorMessages.GetFailedProcessMessageOrEmpty("Run built project", project, aspNetProcess.Process)); 112aspNetProcess.Process.HasExited, 113ErrorMessages.GetFailedProcessMessageOrEmpty("Run published project", project, aspNetProcess.Process)); 244aspNetProcess.Process.HasExited, 245ErrorMessages.GetFailedProcessMessageOrEmpty("Run built project", project, aspNetProcess.Process)); 253aspNetProcess.Process.HasExited, 254ErrorMessages.GetFailedProcessMessageOrEmpty("Run built project", project, aspNetProcess.Process));
src\ProjectTemplates\Shared\AspNetProcess.cs (6)
223foreach (var line in Process.OutputLinesAsEnumerable) 282Process.Dispose(); 288result += Process != null ? "Active: " : "Inactive"; 289if (Process != null) 291if (!Process.HasExited) 293result += $"(Listening on {ListeningUri.OriginalString}) PID: {Process.Id}";
WebApiTemplateTest.cs (8)
173aspNetProcess.Process.HasExited, 174ErrorMessages.GetFailedProcessMessageOrEmpty("Run built project", project, aspNetProcess.Process)); 208aspNetProcess.Process.HasExited, 209ErrorMessages.GetFailedProcessMessageOrEmpty("Run built project", project, aspNetProcess.Process)); 261aspNetProcess.Process.HasExited, 262ErrorMessages.GetFailedProcessMessageOrEmpty("Run built project", project, aspNetProcess.Process)); 272aspNetProcess.Process.HasExited, 273ErrorMessages.GetFailedProcessMessageOrEmpty("Run published project", project, aspNetProcess.Process));