4 writes to ExitCode
Templates.Tests (4)
src\ProjectTemplates\Shared\ProcessResult.cs (1)
13
ExitCode
= process.ExitCode;
src\ProjectTemplates\Shared\Project.cs (3)
139
restoreResult.
ExitCode
= -1;
165
result.
ExitCode
= -1;
188
result.
ExitCode
= -1;
7 references to ExitCode
Templates.Tests (7)
src\ProjectTemplates\Shared\ErrorMessages.cs (1)
12
return $@"Project {project.ProjectArguments} failed to {step}. Exit code {processResult.
ExitCode
}.
src\ProjectTemplates\Shared\Project.cs (6)
126
Assert.True(0 == createResult.
ExitCode
, ErrorMessages.GetFailedProcessMessage("create", this, createResult));
144
Assert.True(0 == restoreResult.
ExitCode
, ErrorMessages.GetFailedProcessMessage("restore", this, restoreResult));
170
Assert.True(0 == result.
ExitCode
, ErrorMessages.GetFailedProcessMessage("publish", this, result));
193
Assert.True(0 == result.
ExitCode
, ErrorMessages.GetFailedProcessMessage("build", this, result));
244
Assert.True(0 == processResult.
ExitCode
, ErrorMessages.GetFailedProcessMessage("run EF migrations", this, processResult));
264
Assert.True(0 == processResult.
ExitCode
, ErrorMessages.GetFailedProcessMessage("update database", this, processResult));