Unhandled Exception: System.ArgumentOutOfRangeException: Count cannot be less than zero. (Parameter 'count')
#99 opened on Jan 11, 2023
Repository metrics
- Stars
- (8,596 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
你好,大佬,我想在后台运行就会报以下的错误,是不支持后台运行吗还是需要怎么操作才可以在后台运行
错误信息:
Unhandled Exception: System.ArgumentOutOfRangeException: Count cannot be less than zero. (Parameter 'count')
at System.String.Ctor(Char, Int32) + 0x95
at Spectre.Console.Padder.Render(RenderContext, Int32) + 0xf2
at Spectre.Console.Rendering.LiveRenderable.d__25.MoveNext() + 0xb5
at System.Collections.Generic.List1.InsertRange(Int32, IEnumerable1) + 0x11b
at Spectre.Console.RenderableExtensions.GetSegments(IAnsiConsole, RenderContext, IEnumerable`1) + 0x9d
at Spectre.Console.RenderableExtensions.GetSegments(IRenderable, IAnsiConsole) + 0xa7
at Spectre.Console.AnsiBuilder.Build(IAnsiConsole, IRenderable) + 0x6c
at Spectre.Console.AnsiConsoleBackend.Write(IRenderable) + 0x14
at Spectre.Console.AnsiConsoleFacade.Write(IRenderable) + 0x42
at Spectre.Console.ProgressRefreshThread.Run() + 0x29
at System.Threading.ExecutionContext.RunInternal(ExecutionContext, ContextCallback, Object) + 0xa8
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x1c
at System.Threading.ExecutionContext.RunInternal(ExecutionContext, ContextCallback, Object) + 0x11e
at System.Threading.Thread.StartThread(IntPtr) + 0xb1
at System.Threading.Thread.ThreadEntryPoint(IntPtr) + 0x19