Exception:“CommunityToolkit.Mvvm.Messaging.WeakReferenceMessenger”的类型初始值设定项引发异常。外部组件发生异常。

报错信息

TypeInitializationException: “CommunityToolkit.Mvvm.Messaging.WeakReferenceMessenger”的类型初始值设定项引发异常。
--TypeName: CommunityToolkit.Mvvm.Messaging.WeakReferenceMessenger
StackTrace:
   在 Quicker.View.Controls.ActionUIEditor.cbZEgyIdIYZ(Object  , RoutedEventArgs  )
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   在 System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
   在 MS.Internal.LoadedOrUnloadedOperation.DoWork()
   在 System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   在 System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   在 System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   在 System.Windows.Interop.HwndTarget.OnResize()
   在 System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   在 System.Windows.Interop.HwndSource.HwndTargetFilterMessage(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)

SEHException: 外部组件发生异常。
StackTrace:
   在 System.Gen2GcCallback.Register(Action`1 callback, Object target)
   在 CommunityToolkit.Mvvm.Messaging.WeakReferenceMessenger..cctor()

 

解决方法

暂无解决方案。

相关信息
1 查看
17天8小时前
Quicker版本
版本 反馈次数
1.43.63 1