38 references to ExitType
Microsoft.Build.CommandLine.UnitTests (7)
CommandLineSwitches_Tests.cs (1)
1530
MSBuildApp.Execute(new[] { @"msbuild.exe", project, "/t:foo.bar" }).ShouldBe(MSBuildApp.
ExitType
.SwitchError);
XMake_Tests.cs (6)
525
.ShouldBe(MSBuildApp.
ExitType
.Success);
624
MSBuildApp.Execute(new[] { @"c:\bin\msbuild.exe", "-junk" }).ShouldBe(MSBuildApp.
ExitType
.SwitchError);
626
MSBuildApp.Execute(new[] { @"msbuild.exe", "-t" }).ShouldBe(MSBuildApp.
ExitType
.SwitchError);
628
MSBuildApp.Execute(new[] { @"msbuild.exe", "@bogus.rsp" }).ShouldBe(MSBuildApp.
ExitType
.InitializationError);
1113
MSBuildApp.Execute(new[] { @"c:\bin\msbuild.exe", quotedProjectFileName }).ShouldBe(MSBuildApp.
ExitType
.Success);
1160
}).ShouldBe(MSBuildApp.
ExitType
.Success);
Microsoft.Build.Engine.UnitTests (1)
Utilities_Tests.cs (1)
92
MSBuildApp.
ExitType
.Success,
MSBuild (30)
MSBuildClientApp.cs (4)
37
public static MSBuildApp.
ExitType
Execute(
64
public static MSBuildApp.
ExitType
Execute(
91
Enum.TryParse(exitResult.MSBuildAppExitTypeString, out MSBuildApp.
ExitType
MSBuildAppExitType))
98
return MSBuildApp.
ExitType
.MSBuildClientFailure;
XMake.cs (26)
282
s_buildCancellationSource.Token) ==
ExitType
.Success) ? 0 : 1);
293
==
ExitType
.Success) ? 0 : 1);
649
public static
ExitType
Execute(
674
ExitType
exitType =
ExitType
.Success;
829
exitType =
ExitType
.BuildError;
857
collection.LogBuildFinishedEvent(exitType ==
ExitType
.Success);
862
exitType =
ExitType
.BuildError;
907
exitType =
ExitType
.BuildError;
958
exitType =
ExitType
.SwitchError;
966
exitType =
ExitType
.InitializationError;
973
exitType =
ExitType
.InitializationError;
998
exitType =
ExitType
.LoggerAbort;
1014
exitType =
ExitType
.LoggerFailure;
1020
exitType =
ExitType
.InitializationError;
1039
exitType =
ExitType
.ProjectCacheFailure;
1046
exitType =
ExitType
.Unexpected;
1092
private static
ExitType
OutputPropertiesAfterEvaluation(string[] getProperty, string[] getItem, Project project, TextWriter outputStream)
1109
return
ExitType
.Success;
1112
private static
ExitType
OutputBuildInformationInJson(BuildResult result, string[] getProperty, string[] getItem, string[] getTargetResult, ILogger[] loggers,
ExitType
exitType, TextWriter outputStream)
1119
exitType = exitType ==
ExitType
.Success && (logger as SimpleErrorLogger).HasLoggedErrors ?
ExitType
.BuildError : exitType;
3442
ExitType
exitType;
3446
exitType =
ExitType
.InitializationError;
3453
exitCode = exitType ==
ExitType
.Success ? 0 : 1;