Skip to content

Conversation

@wmltogether
Copy link
Contributor

Blazor WebAssembly mode do not support Console.OpenStandardInput(),
Invoke OpenStandardLibrary results a PlatformNotSupport exception being thrown.

ref : https://learn.microsoft.com/en-us/dotnet/api/system.console.openstandardinput?view=net-9.0

[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public static System.IO.Stream OpenStandardInput();

Blazor Webassembly mode do not support `Console.OpenStandardInput()`

ref : https://learn.microsoft.com/en-us/dotnet/api/system.console.openstandardinput?view=net-9.0

```
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public static System.IO.Stream OpenStandardInput();
```
@Akeit0 Akeit0 merged commit b90cdfe into nuskey8:main Apr 15, 2025
@Akeit0
Copy link
Collaborator

Akeit0 commented Apr 15, 2025

Thanks!

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.

2 participants