ErrorWriter Property

NAnt SDK Documentation - v0.92 |

# ExternalProgramBase.ErrorWriter Property

Gets or sets the TextWriter to which error output of the external program will be written.

[Visual Basic]
Overridable Public Property ErrorWriter As TextWriter
[C#]
public virtual System.IO.TextWriter ErrorWriter {get; set;}

#### Property Value

The TextWriter to which error output of the external program will be written.

#### Remarks

By default, error output wil be written to the build log with level Warning.

#### See Also

ExternalProgramBase Class | NAnt.Core.Tasks Namespace