CLI CORE - Cannot read console keys
BUG: CLI CORE - Cannot read console keys
We get an exception upon starting the APP:
System.InvalidOperationException: 'Cannot read keys when either application does not have a console or when console input has been redirected. Try Console.Read.'
</span>
Code has been added to fix the issue:
Console.ReadKey();
changed to
Console.Read();