Description: ProgressBar does not display in this console. All progress messages appear in a separate line. An exception (ArgumentOutOfRangeException) is raised just after I try disposing the progress bar. The progressBar.Percentage is 100.
Problem Console: Visual Studio 2019 Developer Command Prompt v16.4.3
Works On: PowerShell 5.1.17763.771, Visual Studio 2019 Debug Console, and on the usual Windows command prompt.
Exception TraceSystem.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension. (Parameter 'top') Actual value was 300. at System.ConsolePal.SetCursorPosition(Int32 left, Int32 top) at System.Console.SetCursorPosition(Int32 left, Int32 top) at ShellProgressBar.ProgressBar.UpdateProgress() at ShellProgressBar.ProgressBar.Dispose()
Description: ProgressBar does not display in this console. All progress messages appear in a separate line. An exception (ArgumentOutOfRangeException) is raised just after I try disposing the progress bar. The progressBar.Percentage is 100.
Problem Console: Visual Studio 2019 Developer Command Prompt v16.4.3 Works On: PowerShell 5.1.17763.771, Visual Studio 2019 Debug Console, and on the usual Windows command prompt.
Exception Trace
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension. (Parameter 'top') Actual value was 300. at System.ConsolePal.SetCursorPosition(Int32 left, Int32 top) at System.Console.SetCursorPosition(Int32 left, Int32 top) at ShellProgressBar.ProgressBar.UpdateProgress() at ShellProgressBar.ProgressBar.Dispose()
PS: Thank you all for the great job.