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