다음을 통해 공유


ToolTask.StandardErrorEncoding Property

Gets the Encoding of the standard error stream of the task.

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)

Syntax

'Declaration
Protected Overridable ReadOnly Property StandardErrorEncoding As Encoding
protected virtual Encoding StandardErrorEncoding { get; }
protected:
virtual property Encoding^ StandardErrorEncoding {
    Encoding^ get ();
}
abstract StandardErrorEncoding : Encoding with get 
override StandardErrorEncoding : Encoding with get
function get StandardErrorEncoding () : Encoding

Property Value

Type: System.Text.Encoding
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).

.NET Framework Security

See Also

Reference

ToolTask Class

Microsoft.Build.Utilities Namespace