Sdílet prostřednictvím


ToolTask.StandardOutputEncoding Property

Definition

Overridable property specifying the encoding of the captured task standard output stream

protected:
 virtual property System::Text::Encoding ^ StandardOutputEncoding { System::Text::Encoding ^ get(); };
protected virtual System.Text.Encoding StandardOutputEncoding { get; }
member this.StandardOutputEncoding : System.Text.Encoding
Protected Overridable ReadOnly Property StandardOutputEncoding As Encoding

Property Value

The Encoding of the response file.

Remarks

Console-based output uses the current system OEM code page by default. Note that we should not use Console.OutputEncoding here since processes we run don't really have much to do with our console window (and also Console.OutputEncoding doesn't return the OEM code page if the running application that hosts MSBuild is not a console application).

Applies to