Base:
property
Message
Microsoft.Build.Framework.BuildEventArgs.Message
10 overrides of Message
Microsoft.Build.Framework (10)
AssemblyLoadBuildEventArgs.cs (1)
74public override string Message
ProjectFinishedEventArgs.cs (1)
109public override string Message
ProjectStartedEventArgs.cs (1)
537public override string Message
PropertyReassignmentEventArgs.cs (1)
72public override string Message
TargetFinishedEventArgs.cs (1)
176public override string Message
TargetSkippedEventArgs.cs (1)
154public override string Message
TargetStartedEventArgs.cs (1)
175public override string Message
TaskFinishedEventArgs.cs (1)
139public override string Message
TaskParameterEventArgs.cs (1)
265public override string Message
TaskStartedEventArgs.cs (1)
193public override string Message
1 write to Message
Microsoft.Build.Framework (1)
TaskParameterEventArgs.cs (1)
273base.Message = MessageGetter(this);
273 references to Message
Microsoft.Arcade.Test.Common (5)
MockEngine.cs (5)
43_output?.WriteLine($"{e.Importance} : {e.Message}"); 49_output?.WriteLine($"warning {e.Code}: {e.Message}"); 55_output?.WriteLine($"error {e.Code}: {e.Message}"); 59throw new XunitException("Task error: " + e.Message); 65_output?.WriteLine(e.Message ?? string.Empty);
Microsoft.Build (32)
BackEnd\Components\Logging\LoggingService.cs (4)
1575extWarningEvent.Message, 1597warningEvent.Message, 1621extWarningEvent.Message, 1642warningEvent.Message,
BackEnd\Components\RequestBuilder\TaskHost.cs (5)
424Trace.Fail(String.Format(CultureInfo.CurrentUICulture, "Task at {0}, after already returning, attempted to log '{1}'", _taskLocation.ToString(), e.Message)); 452e.Message, 494Trace.Fail(String.Format(CultureInfo.CurrentUICulture, "Task at {0}, after already returning, attempted to log '{1}'", _taskLocation.ToString(), e.Message)); 535Trace.Fail(String.Format(CultureInfo.CurrentUICulture, "Task at {0}, after already returning, attempted to log '{1}'", _taskLocation.ToString(), e.Message)); 576Trace.Fail(String.Format(CultureInfo.CurrentUICulture, "Task at {0}, after already returning, attempted to log '{1}'", _taskLocation.ToString(), e.Message));
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (1)
436evr.Message ?? string.Empty,
EventArgsFormatting.cs (8)
28return FormatEventMessage("error", e.Subcategory, e.Message, 43return FormatEventMessage("warning", e.Subcategory, e.Message, 59return FormatEventMessage("message", e.Subcategory, nonNullMessage ?? e.Message, 75return FormatEventMessage("error", e.Subcategory, e.Message, 92return FormatEventMessage("error", e.Subcategory, e.Message, 108return FormatEventMessage("warning", e.Subcategory, e.Message, 125return FormatEventMessage("warning", e.Subcategory, e.Message, 154return FormatEventMessage("message", e.Subcategory, nonNullMessage ?? e.Message,
Logging\ParallelLogger\ParallelConsoleLogger.cs (6)
287WriteLinePretty(e.Message); 1217Console.WriteLine(e.Message); 1252nonNullMessage = ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword("EnvironmentDerivedPropertyRead", environmentPropertyReadEventArgs.EnvironmentVariableName, e.Message); 1262nonNullMessage ??= e.Message ?? string.Empty; 1583if (e.Message != null) 1587WriteMessageAligned(e.Message, true);
Logging\SerialConsoleLogger.cs (6)
140WriteLinePretty(e.Message); 521? ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword("EnvironmentDerivedPropertyRead", environmentDerivedProperty.EnvironmentVariableName, e.Message) 522: e.Message ?? String.Empty; 549if (e.Message != null) 552WriteLinePretty(e.Message); 592Console.WriteLine(e.Message);
TaskLoggingHelper.cs (2)
320ErrorUtilities.ThrowInvalidOperation("LoggingBeforeTaskInitialization", e.Message); 618ErrorUtilities.ThrowInvalidOperation("LoggingBeforeTaskInitialization", e.Message);
Microsoft.Build.Engine.OM.UnitTests (1)
Definition\Project_Tests.cs (1)
4284Assert.Contains(ImportValue, error.Message);
Microsoft.Build.Engine.UnitTests (94)
BackEnd\BuildManager_Tests.cs (4)
1004var deferredMessages = logger.BuildMessageEvents.Where(e => e.Message.StartsWith("deferred")).ToArray(); 1008deferredMessages[0].Message.ShouldBe(highMessage); 1010deferredMessages[1].Message.ShouldBe(normalMessage); 1012deferredMessages[2].Message.ShouldBe(lowMessage);
BackEnd\GenerateTemporaryTargetAssembly_Tests.cs (1)
35logger.Errors.First().Message.ShouldBe("Task successfully failed.");
BackEnd\LoggingService_Tests.cs (8)
743Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.Message, actualBuildEvent.Message); 831Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.Message, actualBuildEvent.Message); 881Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.Message, actualBuildEvent.Message); 938Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.Message, actualBuildEvent.Message);
BackEnd\SdkResolverService_Tests.cs (18)
66_logger.BuildMessageEvents.Select(i => i.Message).ShouldContain("MockSdkResolver1 running"); 67_logger.BuildMessageEvents.Select(i => i.Message).ShouldContain("MockSdkResolver2 running"); 68_logger.BuildMessageEvents.Select(i => i.Message).ShouldNotContain("MockSdkResolverWithResolvableSdkPattern1 running"); 69_logger.BuildMessageEvents.Select(i => i.Message).ShouldContain("MockSdkResolverWithResolvableSdkPattern2 running"); 72_logger.Errors[0].Message.ShouldBe(ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword("FailedToResolveSDK", "notfound", string.Join($"{Environment.NewLine} ", new[] { 79_logger.Warnings.Select(i => i.Message).ShouldBe(new[] { "WARNING4", "WARNING2" }); 132_logger.BuildMessageEvents.Select(i => i.Message).ShouldContain("MockSdkResolverWithResolvableSdkPattern2 running"); 133_logger.BuildMessageEvents.Select(i => i.Message).ShouldNotContain("MockSdkResolver1 running"); 134_logger.BuildMessageEvents.Select(i => i.Message).ShouldNotContain("MockSdkResolver2 running"); 149_logger.BuildMessageEvents.Select(i => i.Message).ShouldContain("MockSdkResolver1 running"); 150_logger.BuildMessageEvents.Select(i => i.Message).ShouldNotContain("MockSdkResolverWithResolvableSdkPattern1 running"); 165_logger.BuildMessageEvents.Select(i => i.Message).ShouldContain("MockSdkResolverWithResolvableSdkPattern1 running"); 166_logger.BuildMessageEvents.Select(i => i.Message).ShouldNotContain("MockSdkResolver1 running"); 178_logger.BuildMessageEvents.Select(i => i.Message).ShouldContain(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("SDKResolverAttempt", nameof(MockResolverReturnsNull), sdk.ToString(), "null", 181_logger.BuildMessageEvents.Select(i => i.Message).ShouldContain(ResourceUtilities.FormatResourceStringStripCodeAndKeyword("SucceededToResolveSDK", sdk.ToString(), nameof(MockSdkResolver1), result.Path, result.Version)); 212_logger.BuildMessageEvents.Select(i => i.Message).ShouldContain("MockSdkResolver1 running"); 213_logger.BuildMessageEvents.Select(i => i.Message).ShouldContain("MockSdkResolver2 running"); 216_logger.Warnings.Select(i => i.Message).ShouldBe(new[] { "WARNING2" });
BackEnd\TargetBuilder_Tests.cs (1)
1378_mockLogger.Errors[0].Message.ShouldBe(errorMessage);
BackEnd\TaskExecutionHost_Tests.cs (1)
1123messages = ml.BuildMessageEvents.Select(e => e.Message).ToList();
BackEnd\TaskHost_Tests.cs (24)
137Assert.Equal("Your code failed.", customBuildError.Message); 162Assert.Equal("Your code failed.", customBuildWarning.Message); 186Assert.Equal("I am a message", customMessage.Message); 327Assert.Equal("testCustomBuildEvent", _customLogger.LastCustom.Message); 343Assert.Contains("SubCategory", _customLogger.LastError.Message); // "Expected line number to be 0" 357Assert.Contains("SubCategory", _customLogger.LastWarning.Message); // "Expected line number to be 0" 371Assert.Contains("message", _customLogger.LastMessage.Message); // "Expected Message importance to be high" 385Assert.Equal("testCustomBuildEvent", _customLogger.LastCustom.Message); 401Assert.Equal("ext message", _customLogger.LastCustom.Message); 414Assert.Equal("ext err message", _customLogger.LastError.Message); 427Assert.Equal("ext warn message", _customLogger.LastWarning.Message); 440Assert.Equal("ext message", _customLogger.LastMessage.Message); 461Assert.Contains(message, _customLogger.LastWarning.Message); // "Expected line to contain NotSerializable message but it did not" 480Assert.Contains(message, _customLogger.LastWarning.Message); // "Expected line to contain NotSerializable message but it did not" 500Assert.Contains(message, _customLogger.LastWarning.Message); // "Expected line to contain NotSerializable message but it did not" 520Assert.Contains(message, _customLogger.LastWarning.Message); // "Expected line to contain NotSerializable message but it did not" 1294if (e.Message != null) 1296Console.Out.WriteLine("CustomError:" + e.Message); 1307if (e.Message != null) 1309Console.Out.WriteLine("CustomWarning:" + e.Message); 1320if (e.Message != null) 1322Console.Out.WriteLine("CustomMessage:" + e.Message); 1333if (e.Message != null) 1335Console.Out.WriteLine("CustomEvent:" + e.Message);
BuildEventArgsSerialization_Tests.cs (20)
65e => e.Message, 108e => e.Message, 268e => e.Message, 317e => e.Message, 356e => e.Message, 391e => e.Message, 429e => e.Message, 465e => e.Message, 505e => e.Message, 600desArgs.Message.ShouldBe(args.Message); 651e => e.Message, 689e => e.Message, 714e => e.Message, 755e => e.Message, 775e => e.Message, 810e => e.Message, 836e => e.Message, 910e => e.Message, 930e => e.Message,
Construction\SolutionProjectGenerator_Tests.cs (3)
322Assert.Equal(text, warning.Message); 331Assert.Equal(text, error.Message); 1062Assert.True(buildResult, String.Join(Environment.NewLine, logger.Errors.Select(beea => beea.Message)));
Evaluation\ProjectSdkImplicitImport_Tests.cs (2)
493events[0].Message.ShouldStartWith("MSB4236"); 497events[1].Message.ShouldStartWith("MSB4236");
Graph\IsolateProjects_Tests.cs (3)
211.Message.ShouldStartWith("MSB4252:"); 423logger.Errors.First().Message.ShouldStartWith("MSB4254:"); 440logger.Errors.First().Message.ShouldStartWith("MSB4254:");
Graph\ProjectGraph_Tests.cs (1)
1618string project1ErrorMessage = project1MockLogger.Errors.First().Message;
Graph\ResultCacheBasedBuilds_Tests.cs (5)
116_logger.Errors.First().Message.ShouldContain("MSB4255:"); 398results["1"].Logger.Errors.First().Message.ShouldContain("MSB4252"); 570_logger.Errors.First().Message.ShouldContain("MSB4255:"); 571_logger.Errors.First().Message.ShouldContain("FileDoesNotExist1"); 572_logger.Errors.First().Message.ShouldContain("FileDoesNotExist2");
WarningsAsMessagesAndErrors_Tests.cs (3)
302Assert.Equal(ExpectedEventMessage, actualEvent.Message); 314Assert.Equal(ExpectedEventMessage, actualEvent.Message); 322BuildMessageEventArgs actualEvent = logger.BuildMessageEvents.FirstOrDefault(i => i.Message.Equals(ExpectedEventMessage));
Microsoft.Build.Framework (3)
TaskCommandLineEventArgs.cs (1)
80return Message;
TaskParameterEventArgs.cs (2)
271if (base.Message == null) 276return base.Message;
Microsoft.Build.Framework.UnitTests (1)
BuildCanceledEventArgs_Tests.cs (1)
37argDeserialized.Message.ShouldBe(message);
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (6)
TestUtilities\MockEngine.cs (6)
29var msg = $"ERROR {eventArgs.Code}: {eventArgs.Message}"; 36var msg = $"WARNING {eventArgs.Code}: {eventArgs.Message}"; 43_testOutputHelper?.WriteLine(eventArgs.Message); 44_log.AppendLine(eventArgs.Message); 49_testOutputHelper?.WriteLine(eventArgs.Message); 50_log.AppendLine(eventArgs.Message);
Microsoft.Build.Tasks.UnitTests (9)
AssemblyDependency\SuggestedRedirects.cs (2)
204string warningMessage = e.WarningEvents[0].Message; 249string warningMessage = e.WarningEvents[0].Message;
CodeTaskFactoryTests.cs (1)
1233Assert.Contains("CodeTaskFactory", error.Message);
Exec_Tests.cs (1)
176((MockEngine)exec.BuildEngine).WarningEvents.Select(w => w.Message)));
ResourceManagement_Tests.cs (4)
27var filteredMessages = messages.Where(m => m.Message.StartsWith("Number of cores acquired: ")).ToArray(); 42var filteredMessages = messages.Where(m => m.Message.StartsWith("Number of cores acquired: ")).ToArray(); 69var filteredMessages = messages.Where(m => m.Message.StartsWith("Number of cores acquired: ")).ToArray(); 154string[] messageComponents = msg.Message.Split(' ');
RoslynCodeTaskFactory_Tests.cs (1)
210.Where(m => m.Message == "Compiling task source code")
Microsoft.Build.UnitTests.Shared (13)
MockEngine.cs (8)
92message += eventArgs.Message; 121message += eventArgs.Message; 139Console.WriteLine(eventArgs.Message); 142_output?.WriteLine(eventArgs.Message); 143_log.AppendLine(eventArgs.Message); 153Console.WriteLine(eventArgs.Message); 156_output?.WriteLine(eventArgs.Message); 157_log.AppendLine(eventArgs.Message);
MockLogger.cs (3)
283if (w.Code != "MSB4056" && !w.Message.Contains("MSB4056")) 285string logMessage = $"{w.File}({w.LineNumber},{w.ColumnNumber}): {w.Subcategory} warning {w.Code}: {w.Message}"; 296string logMessage = $"{e.File}({e.LineNumber},{e.ColumnNumber}): {e.Subcategory} error {e.Code}: {e.Message}";
ObjectModelHelpers.cs (2)
1520mockLogger.Errors[0].Message.ShouldContain(testProjectFile); 1528mockLogger.Warnings[0].Message.ShouldContain(testProjectFile);
Microsoft.Build.Utilities.Core (11)
EventArgsFormatting.cs (8)
28return FormatEventMessage("error", e.Subcategory, e.Message, 43return FormatEventMessage("warning", e.Subcategory, e.Message, 59return FormatEventMessage("message", e.Subcategory, nonNullMessage ?? e.Message, 75return FormatEventMessage("error", e.Subcategory, e.Message, 92return FormatEventMessage("error", e.Subcategory, e.Message, 108return FormatEventMessage("warning", e.Subcategory, e.Message, 125return FormatEventMessage("warning", e.Subcategory, e.Message, 154return FormatEventMessage("message", e.Subcategory, nonNullMessage ?? e.Message,
MuxLogger.cs (1)
863new BuildStartedEventArgs(_buildStartedEvent.Message,
TaskLoggingHelper.cs (2)
320ErrorUtilities.ThrowInvalidOperation("LoggingBeforeTaskInitialization", e.Message); 618ErrorUtilities.ThrowInvalidOperation("LoggingBeforeTaskInitialization", e.Message);
Microsoft.Build.Utilities.UnitTests (12)
MockEngine.cs (4)
60Console.WriteLine(eventArgs.Message); 61_log.AppendLine(eventArgs.Message); 69Console.WriteLine(eventArgs.Message); 70_log.AppendLine(eventArgs.Message);
TrackedDependencies\MockEngine.cs (8)
51Console.WriteLine(eventArgs.Message); 52Log += eventArgs.Message; 67Console.WriteLine(eventArgs.Message); 68Log += eventArgs.Message; 74Console.WriteLine(eventArgs.Message); 75Log += eventArgs.Message; 81Console.WriteLine(eventArgs.Message); 82Log += eventArgs.Message;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
MSBuild\Logging\MSBuildDiagnosticLogger.cs (2)
28_log?.Add(new MSBuildDiagnosticLogItem(DiagnosticLogItemKind.Error, _projectFilePath, e.Message ?? "", e.File, e.LineNumber, e.ColumnNumber)); 34_log?.Add(new MSBuildDiagnosticLogItem(DiagnosticLogItemKind.Warning, _projectFilePath, e.Message ?? "", e.File, e.LineNumber, e.ColumnNumber));
Microsoft.DotNet.ArcadeLogging (2)
PipelinesLogger.cs (2)
195LogErrorOrWarning(isError: true, e.File, e.LineNumber, e.ColumnNumber, e.Code, e.Message, e.BuildEventContext); 198LogErrorOrWarning(isError: false, e.File, e.LineNumber, e.ColumnNumber, e.Code, e.Message, e.BuildEventContext);
Microsoft.DotNet.Build.Tasks.Feed.Tests (21)
BuildModelFactoryTests.cs (3)
238_buildEngine.BuildErrorEvents.Should().Contain(e => e.Message.Equals($"Missing 'RelativeBlobPath' property on blob {zipArtifact}")); 263_buildEngine.BuildErrorEvents.Should().Contain(e => e.Message.Equals("Missing 'location' property from ManifestBuildData")); 724_buildEngine.BuildErrorEvents.Should().Contain(e => e.Message.Equals($"Item to sign '{bogusNupkgToSign}' was not found in the artifacts"));
PublishToSymbolServerTest.cs (18)
122Assert.Contains(buildEngine.BuildMessageEvents, x => x.Message.StartsWith("No assets to publish")); 141Assert.Contains(buildEngine.BuildMessageEvents, x => x.Message.StartsWith("No target symbol servers")); 164Assert.Contains(buildEngine.BuildMessageEvents, x => x.Message.StartsWith("Publishing Symbols to Symbol server")); 165var message = buildEngine.BuildMessageEvents.Single(x => x.Message.StartsWith("Publishing Symbols to Symbol server")); 166Assert.Contains("Symbol package count: 1", message.Message); 167Assert.Contains("Loose symbol file count: 1", message.Message); 169Assert.Contains(buildEngine.BuildMessageEvents, x => x.Message.Contains("Creating symbol request")); 170Assert.Equal(2, buildEngine.BuildMessageEvents.Where(x => x.Message.Contains("Adding directory")).Count()); 173Assert.Equal(symbolPackages.Keys.Count, buildEngine.BuildMessageEvents.Where(x => x.Message.Contains($"Extracting symbol package")).Count()); 174Assert.Equal(symbolPackages.Keys.Count, buildEngine.BuildMessageEvents.Where(x => x.Message.Contains($"Adding package")).Count()); 177Assert.Contains(buildEngine.BuildMessageEvents , x => x.Message.Contains("Skipping lib/net8.0/aztoken.dll")); 178Assert.Contains(buildEngine.BuildMessageEvents, x => x.Message.StartsWith("Finished publishing symbols to temporary azdo org")); 179Assert.Single(buildEngine.BuildMessageEvents, x => x.Message.StartsWith("Would register request")); 180Microsoft.Build.Framework.BuildMessageEventArgs registerLog = buildEngine.BuildMessageEvents.Where(x => x.Message.StartsWith("Would register request")).Single(); 181Assert.Contains("project dotnettest", registerLog.Message); 182Assert.Contains("environment PPE", registerLog.Message); 183Assert.Contains("visibility Public", registerLog.Message); 184Assert.Contains("to last 3650 days", registerLog.Message);
Microsoft.DotNet.Build.Tasks.Packaging.Tests (4)
TestBuildEngine.cs (4)
38_log.LogMessage(e.Message); 43_log.LogError(e.Message); 48_log.LogMessage((LogImportance)e.Importance, e.Message); 53_log.LogWarning(e.Message);
Microsoft.DotNet.Build.Tasks.VisualStudio.Tests (3)
Vsix\FinalizeInsertionVsixFile.cs (3)
60AssertEx.Equal(new[] { "PackageManifest.Installation element not found in manifest of 'x.vsix'" }, engine.Errors.Select(e => e.Message)); 84AssertEx.Equal(new[] { @"PackageManifest.Installation element of the manifest does not have Experimental=""true"": 'x.vsix'" }, engine.Warnings.Select(e => e.Message)); 118}, engine.Warnings.Select(e => e.Message));
Microsoft.DotNet.Helix.Sdk.Tests (8)
FindDotNetCliPackageTests.cs (8)
65buildEngineMock.BuildMessageEvents.Should().Contain(x => x.Message.Contains("is valid.")); 113buildEngineMock.BuildMessageEvents.Should().NotContain(x => Regex.IsMatch(x.Message, @"\?sv=[^ ]+")); 115buildEngineMock.BuildMessageEvents.Should().Contain(x => x.Message.Contains("is valid.")); 164buildEngineMock.BuildMessageEvents.Should().Contain(x => x.Message.Contains("Response status code does not indicate success: 403 (Forbidden).")); 166buildEngineMock.BuildMessageEvents.Should().NotContain(x => Regex.IsMatch(x.Message, @"\?sv=[^ ]+")); 168buildEngineMock.BuildMessageEvents.Should().NotContain(x => x.Message.Contains("is valid.")); 218buildEngineMock.BuildMessageEvents.Should().NotContain(x => Regex.IsMatch(x.Message, @"\?sv=[^ ]+")); 220buildEngineMock.BuildMessageEvents.Should().NotContain(x => x.Message.Contains("is valid."));
Microsoft.DotNet.NuGetRepack.Tests (2)
ReplacePackagePartsTests.cs (2)
39AssertEx.Equal(Array.Empty<string>(), engine.LogErrorEvents.Select(w => w.Message)); 40AssertEx.Equal(Array.Empty<string>(), engine.LogWarningEvents.Select(w => $"{w.Code}: {w.Message}"));
Microsoft.DotNet.SignTool.Tests (9)
FakeBuildEngine.cs (4)
89_output.WriteLine(e.Message ?? string.Empty); 99_output.WriteLine($"error {e.Code}: {e.Message}"); 109_output.WriteLine(e.Message ?? string.Empty); 119_output.WriteLine($"warning {e.Code}: {e.Message}");
SignToolTests.cs (5)
378engine.LogErrorEvents.Select(w => w.Message).Should().BeEquivalentTo(expectedErrors ?? Array.Empty<string>()); 379engine.LogWarningEvents.Select(w => $"{w.Code}: {w.Message}").Should().BeEquivalentTo(expectedWarnings ?? Array.Empty<string>()); 1432fakeBuildEngine.LogErrorEvents.ForEach(a => a.Message.Should().EndWithEquivalent(" does not exist." )); 2380fakeBuildEngine.LogErrorEvents.Should().Contain(e => e.Message.Contains("WixToolsPath must be defined to run WiX tooling")); 2396fakeBuildEngine.LogErrorEvents.Should().Contain(e => e.Message.Contains($"WixToolsPath '{totalWixToolDir}' not found."));
Microsoft.Extensions.ApiDescription.Client.Tests (4)
MockBuildEngine.cs (4)
68_log.AppendLine(eventArgs.Message); 74_log.AppendLine(eventArgs.Message); 80_log.AppendLine(eventArgs.Message); 89_log.AppendLine(eventArgs.Message);
MSBuild (17)
EventArgsFormatting.cs (8)
28return FormatEventMessage("error", e.Subcategory, e.Message, 43return FormatEventMessage("warning", e.Subcategory, e.Message, 59return FormatEventMessage("message", e.Subcategory, nonNullMessage ?? e.Message, 75return FormatEventMessage("error", e.Subcategory, e.Message, 92return FormatEventMessage("error", e.Subcategory, e.Message, 108return FormatEventMessage("warning", e.Subcategory, e.Message, 125return FormatEventMessage("warning", e.Subcategory, e.Message, 154return FormatEventMessage("message", e.Subcategory, nonNullMessage ?? e.Message,
TerminalLogger\TerminalLogger.cs (9)
476RenderImmediateMessage(e.Message!); 798string? message = e.Message; 812ReadOnlyMemory<char> outputPath = e.Message.AsMemory().Slice(index + 4); 890if (e.Message != null && Verbosity > LoggerVerbosity.Quiet) 892RenderImmediateMessage(e.Message); 932if ((!String.IsNullOrEmpty(e.Message) && IsImmediateMessage(e.Message!)) || 1128message: e.Message, 1143message: e.Message,
XmlFileLogger (14)
ObjectModel\Build.cs (3)
92task.AddParameter(TaskParameter.Create(buildMessageEventArgs.Message, messagePrefix)); 115string message = buildMessageEventArgs.Message.Substring(prefix.Length); 137target.AddItemGroup((ItemGroup)TaskParameter.Create(buildMessageEventArgs.Message, prefix));
ObjectModel\Project.cs (1)
123Name = projectStartedEventArgs.Message;
XmlFileLogger.cs (10)
63_build.AddMessage(args, string.Format("Error {0}: {1}", args.Code, args.Message)); 68_build.AddMessage(args, string.Format("Warning {0}: {1}", args.Code, args.Message)); 99if (messageArgs.Message.StartsWith(TaskParameterMessagePrefix)) 103else if (messageArgs.Message.StartsWith(OutputItemsMessagePrefix)) 107else if (messageArgs.Message.StartsWith(OutputPropertyMessagePrefix)) 113else if (messageArgs.Message.StartsWith(PropertyGroupMessagePrefix)) 117else if (messageArgs.Message.StartsWith(ItemGroupIncludeMessagePrefix)) 121else if (messageArgs.Message.StartsWith(ItemGroupRemoveMessagePrefix)) 136var match = Regex.Match(messageArgs.Message, taskAssemblyPattern); 144_build.AddMessage(messageArgs, messageArgs.Message);