Exception:startIndex 不能大于字符串长度。 参数名: startIndex

报错信息 1
ArgumentOutOfRangeException: startIndex 不能大于字符串长度。
参数名: startIndex
--Message: startIndex 不能大于字符串长度。
参数名: startIndex
StackTrace:
   在 System.String.Substring(Int32 startIndex, Int32 length)
   在 Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.OnFileSystemEntryChange(String fullPath)
   在 Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher.OnRenamed(Object sender, RenamedEventArgs e)
   在 System.IO.FileSystemWatcher.OnRenamed(RenamedEventArgs e)
   在 System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
   在 System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

版本:1.44.22 2025-08-12 03:02 Microsoft Windows NT 10.0.26100.0