40 references to ExitType
Microsoft.Build.CommandLine.UnitTests (8)
CommandLineSwitches_Tests.cs (1)
1554
MSBuildApp.Execute(new[] { @"msbuild.exe", project, "/t:foo.bar" }).ShouldBe(MSBuildApp.
ExitType
.SwitchError);
XMake_Tests.cs (7)
571
.ShouldBe(MSBuildApp.
ExitType
.Success);
670
MSBuildApp.Execute(new[] { @"c:\bin\msbuild.exe", "-junk" }).ShouldBe(MSBuildApp.
ExitType
.SwitchError);
672
MSBuildApp.Execute(new[] { @"msbuild.exe", "-t" }).ShouldBe(MSBuildApp.
ExitType
.SwitchError);
674
MSBuildApp.Execute(new[] { @"msbuild.exe", "@bogus.rsp" }).ShouldBe(MSBuildApp.
ExitType
.InitializationError);
1159
MSBuildApp.Execute(new[] { @"c:\bin\msbuild.exe", quotedProjectFileName }).ShouldBe(MSBuildApp.
ExitType
.Success);
1206
}).ShouldBe(MSBuildApp.
ExitType
.Success);
2952
MSBuildApp.Execute(new[] { @"c:\bin\msbuild.exe", project, "/m:257 /mt" }).ShouldBe(MSBuildApp.
ExitType
.SwitchError);
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);
619
public static
ExitType
Execute(
647
ExitType
exitType =
ExitType
.Success;
809
exitType =
ExitType
.BuildError;
837
collection.LogBuildFinishedEvent(exitType ==
ExitType
.Success);
842
exitType =
ExitType
.BuildError;
889
exitType =
ExitType
.BuildError;
940
exitType =
ExitType
.SwitchError;
948
exitType =
ExitType
.InitializationError;
955
exitType =
ExitType
.InitializationError;
980
exitType =
ExitType
.LoggerAbort;
996
exitType =
ExitType
.LoggerFailure;
1002
exitType =
ExitType
.InitializationError;
1026
exitType =
ExitType
.ProjectCacheFailure;
1034
exitType =
ExitType
.Unexpected;
1041
exitType =
ExitType
.Unexpected;
1087
private static
ExitType
OutputPropertiesAfterEvaluation(string[] getProperty, string[] getItem, Project project, TextWriter outputStream)
1104
return
ExitType
.Success;
1107
private static
ExitType
OutputBuildInformationInJson(BuildResult result, string[] getProperty, string[] getItem, string[] getTargetResult, ILogger[] loggers,
ExitType
exitType, TextWriter outputStream)
1114
exitType = exitType ==
ExitType
.Success && (logger as SimpleErrorLogger).HasLoggedErrors ?
ExitType
.BuildError : exitType;
3514
ExitType
exitType;
3518
exitType =
ExitType
.InitializationError;
3525
exitCode = exitType ==
ExitType
.Success ? 0 : 1;