39 references to ExitType
Microsoft.Build.CommandLine.UnitTests (7)
CommandLineSwitches_Tests.cs (1)
1528
MSBuildApp.Execute(new[] { @"msbuild.exe", project, "/t:foo.bar" }).ShouldBe(MSBuildApp.
ExitType
.SwitchError);
XMake_Tests.cs (6)
526
.ShouldBe(MSBuildApp.
ExitType
.Success);
625
MSBuildApp.Execute(new[] { @"c:\bin\msbuild.exe", "-junk" }).ShouldBe(MSBuildApp.
ExitType
.SwitchError);
627
MSBuildApp.Execute(new[] { @"msbuild.exe", "-t" }).ShouldBe(MSBuildApp.
ExitType
.SwitchError);
629
MSBuildApp.Execute(new[] { @"msbuild.exe", "@bogus.rsp" }).ShouldBe(MSBuildApp.
ExitType
.InitializationError);
1114
MSBuildApp.Execute(new[] { @"c:\bin\msbuild.exe", quotedProjectFileName }).ShouldBe(MSBuildApp.
ExitType
.Success);
1161
}).ShouldBe(MSBuildApp.
ExitType
.Success);
Microsoft.Build.Engine.UnitTests (1)
Utilities_Tests.cs (1)
89
MSBuildApp.
ExitType
.Success,
MSBuild (31)
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 (27)
283
s_buildCancellationSource.Token) ==
ExitType
.Success) ? 0 : 1);
294
==
ExitType
.Success) ? 0 : 1);
650
public static
ExitType
Execute(
678
ExitType
exitType =
ExitType
.Success;
833
exitType =
ExitType
.BuildError;
861
collection.LogBuildFinishedEvent(exitType ==
ExitType
.Success);
866
exitType =
ExitType
.BuildError;
911
exitType =
ExitType
.BuildError;
962
exitType =
ExitType
.SwitchError;
970
exitType =
ExitType
.InitializationError;
977
exitType =
ExitType
.InitializationError;
1002
exitType =
ExitType
.LoggerAbort;
1018
exitType =
ExitType
.LoggerFailure;
1024
exitType =
ExitType
.InitializationError;
1043
exitType =
ExitType
.ProjectCacheFailure;
1050
exitType =
ExitType
.Unexpected;
1057
exitType =
ExitType
.Unexpected;
1103
private static
ExitType
OutputPropertiesAfterEvaluation(string[] getProperty, string[] getItem, Project project, TextWriter outputStream)
1120
return
ExitType
.Success;
1123
private static
ExitType
OutputBuildInformationInJson(BuildResult result, string[] getProperty, string[] getItem, string[] getTargetResult, ILogger[] loggers,
ExitType
exitType, TextWriter outputStream)
1130
exitType = exitType ==
ExitType
.Success && (logger as SimpleErrorLogger).HasLoggedErrors ?
ExitType
.BuildError : exitType;
3473
ExitType
exitType;
3477
exitType =
ExitType
.InitializationError;
3484
exitCode = exitType ==
ExitType
.Success ? 0 : 1;