dnf
dnf

Reputation: 1789

Console.ReadLine return null in powershell

I'm connecting to my .NET Core 2 app deployed to Raspberry Pi va PowerShell - the problem is that Console.ReadLine() is not waiting for user input but returns null. The same program in SSH works good? How can I make it work in PowerShell?

Upvotes: 1

Views: 263

Answers (1)

Michael Xu
Michael Xu

Reputation: 4432

It seems a problem about powershell on Windows IoT Core. Even a blank windows iot core console application in C++, cin also appears the same issue. I have reported this issue via Feedback Hub App(https://aka.ms/AA3cmsf). Please wait patiently till it is fixed.So at the moment, you can use SSH instead.

Upvotes: 2

Related Questions