Exception:路径中具有非法字符。

报错信息 1
ArgumentException: 路径中具有非法字符。
--Message: 路径中具有非法字符。
StackTrace:
   在 System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
   在 System.IO.Path.IsPathRooted(String path)
   在 System.IO.Path.CombineNoChecks(String path1, String path2)
   在 System.IO.StringResultHandler.CreateObject(SearchData searchData, WIN32_FIND_DATA& findData)
   在 System.IO.FileSystemEnumerableIterator`1.MoveNext()
   在 System.Linq.Enumerable.<ConcatIterator>d__59`1.MoveNext()
   在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   在 IntelliTools.Domain.Menu.FileMenuExtrator.GetEntries(String path)
   在 IntelliTools.Domain.Menu.FileMenuItemWrapper.GetChildMenuItems()
   在 IntelliTools.Domain.Menu.MenuItemWrapper.HasChildMenu()
   在 IntelliTools.Domain.Menu.MenuItemWrapper.HasChildMenuInternal()
   在 IntelliTools.Domain.Menu.MenuItemWrapper.GetMenuItem()
   在 IntelliTools.Domain.Menu.FileMenuItemWrapper.GetMenuItem()
   在 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   在 IntelliTools.Domain.Menu.MenuControlAdder.LoadSubmenuItem(IEnumerable`1 entries, Nullable`1 limit)
   在 IntelliTools.Domain.Menu.MenuItemWrapper.CreateSubmenu(OpenMenuType type)
   在 IntelliTools.Domain.Menu.MenuItemWrapper.<GetMenuItem>b__17_0(Object s, RoutedEventArgs e)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.Controls.MenuItem.OnIsSubmenuOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   在 System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   在 System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   在 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   在 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   在 System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   在 System.Windows.DependencyObject.SetCurrentValueInternal(DependencyProperty dp, Object value)
   在 System.Windows.Controls.MenuItem.OpenMenu()
   在 System.Windows.Controls.MenuItem.<SetTimerToOpenHierarchy>b__189_0(Object sender, EventArgs e)
   在 System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

版本:1.44.55 2026-05-26 11:40 Microsoft Windows NT 10.0.19045.0
报错信息 2
ArgumentException: 路径中具有非法字符。
--Message: 路径中具有非法字符。
StackTrace:
   在 System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
   在 System.IO.Path.GetExtension(String path)
   在 DynamicClass.GetImagePath(String line)
   在 DynamicClass.BuildCardExcerpt(String body)
   在 DynamicClass.CreateCard(Window win, PhraseItem item, List`1 visibleItems)
   在 DynamicClass.RenderCards(Window win)
   在 DynamicClass.<>c__DisplayClass3d.<CreateCard>b__35(Object sender, MouseButtonEventArgs e)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

版本:1.45.0 2026-04-29 13:07 Microsoft Windows NT 10.0.26220.0