Exec.ConsoleOutput Property

Definition

Returns the output as an Item. Whitespace are trimmed. ConsoleOutput is enabled when ConsoleToMSBuild is true. This avoids holding lines in memory if they aren't used. ConsoleOutput is a combination of stdout and stderr.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
[Microsoft.Build.Framework.Output]
public Microsoft.Build.Framework.ITaskItem[] ConsoleOutput { get; }
C#
[Microsoft.Build.Framework.Output]
public Microsoft.Build.Framework.ITaskItem[] ConsoleOutput { get; set; }

Property Value

Returns ITaskItem.

Attributes

Applies to

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1