ToolTask.LogEventsFromTextOutput Method (String, MessageImportance)


Parses a single line of text to identify any errors or warnings in canonical format.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:   Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)

protected virtual void LogEventsFromTextOutput(
	string singleLine,
	MessageImportance messageImportance


Type: System.String

A single line of text for the method to parse.

Type: Microsoft.Build.Framework.MessageImportance

A value of MessageImportance that indicates the importance level with which to log the message.

Return to top