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)
524
.ShouldBe(MSBuildApp.
ExitType
.Success);
623
MSBuildApp.Execute(new[] { @"c:\bin\msbuild.exe", "-junk" }).ShouldBe(MSBuildApp.
ExitType
.SwitchError);
625
MSBuildApp.Execute(new[] { @"msbuild.exe", "-t" }).ShouldBe(MSBuildApp.
ExitType
.SwitchError);
627
MSBuildApp.Execute(new[] { @"msbuild.exe", "@bogus.rsp" }).ShouldBe(MSBuildApp.
ExitType
.InitializationError);
1122
MSBuildApp.Execute(new[] { @"c:\bin\msbuild.exe", quotedProjectFileName }).ShouldBe(MSBuildApp.
ExitType
.Success);
1169
}).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)
269
s_buildCancellationSource.Token) ==
ExitType
.Success) ? 0 : 1);
280
==
ExitType
.Success) ? 0 : 1);
635
public static
ExitType
Execute(
660
ExitType
exitType =
ExitType
.Success;
815
exitType =
ExitType
.BuildError;
840
collection.LogBuildFinishedEvent(exitType ==
ExitType
.Success);
845
exitType =
ExitType
.BuildError;
890
exitType =
ExitType
.BuildError;
941
exitType =
ExitType
.SwitchError;
949
exitType =
ExitType
.InitializationError;
956
exitType =
ExitType
.InitializationError;
981
exitType =
ExitType
.LoggerAbort;
997
exitType =
ExitType
.LoggerFailure;
1003
exitType =
ExitType
.InitializationError;
1022
exitType =
ExitType
.ProjectCacheFailure;
1029
exitType =
ExitType
.Unexpected;
1075
private static
ExitType
OutputPropertiesAfterEvaluation(string[] getProperty, string[] getItem, Project project, TextWriter outputStream)
1092
return
ExitType
.Success;
1095
private static
ExitType
OutputBuildInformationInJson(BuildResult result, string[] getProperty, string[] getItem, string[] getTargetResult, ILogger[] loggers,
ExitType
exitType, TextWriter outputStream)
1102
exitType = exitType ==
ExitType
.Success && (logger as SimpleErrorLogger).HasLoggedErrors ?
ExitType
.BuildError : exitType;
3390
ExitType
exitType;
3394
exitType =
ExitType
.InitializationError;
3401
exitCode = exitType ==
ExitType
.Success ? 0 : 1;