Skip to content

System.Console.IsOutputRedirected Not supported on Xamarin.mac #725

@mmoraga

Description

@mmoraga

Using commandlineparser on Xamarin.Mac Modern throws a PlatformNotSupportedException when trying to set MaximumDisplayWidth. I found some older issues with docker where setting MaximumDisplayWdith explicitly would fix the issue. Unfortunately this won't work here, as the call to System.Console.IsOutputRedirected happens in the ParserSettings constructor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions