1 write to OutputText
dotnet-svcutil-lib (1)
Shared\Utilities\ProcessRunner.cs (1)
29public ProcessResult(int exitCode, string outputText) { this.ExitCode = exitCode; this.OutputText = outputText; }
18 references to OutputText
dotnet-svcutil-lib (3)
Bootstrapper\SvcutilBootstrapper.cs (1)
198ToolConsole.WriteWarning(restoreResult.OutputText);
Shared\ProjectPropertyResolver.cs (1)
127s_sdkVersion = procResult.OutputText.Trim();
Tool.cs (1)
134ToolConsole.WriteLine(bootstrapResult.OutputText);
dotnet-svcutil-lib.Tests (15)
E2ETests.cs (4)
54_ = $"{processResult.OutputText}{Environment.NewLine}{((TestLogger)this_TestCaseLogger)}"; 56ValidateTest(options, this_TestCaseProject.DirectoryPath, processResult.ExitCode, processResult.OutputText, expectSuccess); 235Assert.True(result.ExitCode == 0, result.OutputText); 246Assert.True(ret.ExitCode == 0, ret.OutputText);
GlobalToolTests.cs (7)
32var outputText = $"{processResult.OutputText}{Environment.NewLine}{((TestLogger)this_TestCaseLogger)}"; 34ValidateTest(options, this_TestCaseProject.DirectoryPath, processResult.ExitCode, processResult.OutputText, expectSuccess); 94Assert.True(processResult.ExitCode == 0 || processResult.ExitCode == 6, processResult.OutputText); 97var warningCount = CountInternalXmlSerializerWarningLines(processResult.OutputText); 100$"Expected {expectedWarningCount} warning(s) mentioning both '--internal' and 'XmlSerializer', found {warningCount}. Output was:{Environment.NewLine}{processResult.OutputText}"); 102ValidateTest(options, this_TestCaseProject.DirectoryPath, processResult.ExitCode, processResult.OutputText, expectSuccess: true); 218Assert.True(ret.ExitCode == 0, ret.OutputText);
ProjectUtils.cs (2)
73Assert.True(ret.ExitCode == 0, $"Project package restore failed:{Environment.NewLine}{ret.OutputText}{logger}"); 78Assert.True(ret.ExitCode == 0, $"Project build failed:{Environment.NewLine}{ret.OutputText}{logger}");
TestInit.cs (2)
139g_SdkVersion = procResult.OutputText.Trim(); 186Assert.True(ret.ExitCode == 0, "Could not install the global tool." + Environment.NewLine + ret.OutputText);