38 references to ExitType
Microsoft.Build.CommandLine.UnitTests (7)
CommandLineSwitches_Tests.cs (1)
1530MSBuildApp.Execute(new[] { @"msbuild.exe", project, "/t:foo.bar" }).ShouldBe(MSBuildApp.ExitType.SwitchError);
XMake_Tests.cs (6)
525.ShouldBe(MSBuildApp.ExitType.Success); 624MSBuildApp.Execute(new[] { @"c:\bin\msbuild.exe", "-junk" }).ShouldBe(MSBuildApp.ExitType.SwitchError); 626MSBuildApp.Execute(new[] { @"msbuild.exe", "-t" }).ShouldBe(MSBuildApp.ExitType.SwitchError); 628MSBuildApp.Execute(new[] { @"msbuild.exe", "@bogus.rsp" }).ShouldBe(MSBuildApp.ExitType.InitializationError); 1113MSBuildApp.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)
92MSBuildApp.ExitType.Success,
MSBuild (30)
MSBuildClientApp.cs (4)
37public static MSBuildApp.ExitType Execute( 64public static MSBuildApp.ExitType Execute( 91Enum.TryParse(exitResult.MSBuildAppExitTypeString, out MSBuildApp.ExitType MSBuildAppExitType)) 98return MSBuildApp.ExitType.MSBuildClientFailure;
XMake.cs (26)
280s_buildCancellationSource.Token) == ExitType.Success) ? 0 : 1); 291== ExitType.Success) ? 0 : 1); 646public static ExitType Execute( 671ExitType exitType = ExitType.Success; 826exitType = ExitType.BuildError; 851collection.LogBuildFinishedEvent(exitType == ExitType.Success); 856exitType = ExitType.BuildError; 901exitType = ExitType.BuildError; 952exitType = ExitType.SwitchError; 960exitType = ExitType.InitializationError; 967exitType = ExitType.InitializationError; 992exitType = ExitType.LoggerAbort; 1008exitType = ExitType.LoggerFailure; 1014exitType = ExitType.InitializationError; 1033exitType = ExitType.ProjectCacheFailure; 1040exitType = ExitType.Unexpected; 1086private static ExitType OutputPropertiesAfterEvaluation(string[] getProperty, string[] getItem, Project project, TextWriter outputStream) 1103return ExitType.Success; 1106private static ExitType OutputBuildInformationInJson(BuildResult result, string[] getProperty, string[] getItem, string[] getTargetResult, ILogger[] loggers, ExitType exitType, TextWriter outputStream) 1113exitType = exitType == ExitType.Success && (logger as SimpleErrorLogger).HasLoggedErrors ? ExitType.BuildError : exitType; 3430ExitType exitType; 3434exitType = ExitType.InitializationError; 3441exitCode = exitType == ExitType.Success ? 0 : 1;