Skip to content

Operation is not supported on this platform #497

Closed

Description

@colombod

System.CommandLine.ConsoleExtensions.ResetTerminalForegroundColor will throw System.PlatformNotSupportedException when used in platforms like mono wasm that do not support that api.

The get accessor for property System.Console.IsOutputRedirected is the source of such exception.

This is happening when running on wasm and is related to Console implementation

Activity

  1. added
    bug
    on Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions