Skip to content

Fixes PlatformNotSupported on Xamarin.Mac modern.#726

Open
mmoraga wants to merge 1 commit into
commandlineparser:masterfrom
mmoraga:fix/xamarin-mac-modern
Open

Fixes PlatformNotSupported on Xamarin.Mac modern.#726
mmoraga wants to merge 1 commit into
commandlineparser:masterfrom
mmoraga:fix/xamarin-mac-modern

Conversation

@mmoraga
Copy link
Copy Markdown

@mmoraga mmoraga commented Dec 14, 2020

On Xamarin.Mac Console.IsOutputRedirected throws a PlatformNotSupportedException.
This PR moves that line to within the try-catch-block so it can be safely ignored.
Fixes #725

On Xamarin.Mac `Console.IsOutputRedirected` throws a `PlatformNotSupportedException`.
This PR moves that line to within the try-catch-block so it can be safely ignored.
@mmoraga mmoraga force-pushed the fix/xamarin-mac-modern branch from 7cde652 to bd279dd Compare December 21, 2020 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

System.Console.IsOutputRedirected Not supported on Xamarin.mac

1 participant