Exception:CoreWebView2 members cannot be accessed after the WebView2 control is disposed.没有注册类 没有注册类

报错信息 1
InvalidOperationException: CoreWebView2 members cannot be accessed after the WebView2 control is disposed.
StackTrace:
   在 Microsoft.Web.WebView2.Core.CoreWebView2.get_Profile()
   在 Microsoft.Web.WebView2.Wpf.WebView2.Uninitialize(Boolean browserCrashed)
   在 Microsoft.Web.WebView2.Wpf.WebView2.Dispose(Boolean disposing)
   在 System.Windows.Interop.HwndHost.WeakEventDispatcherShutdown.OnShutdownFinished(Object sender, EventArgs e)
   在 System.EventHandler.Invoke(Object sender, EventArgs e)
   在 System.Windows.Threading.Dispatcher.ShutdownImplInSecurityContext(Object state)
   在 MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   在 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   在 System.Windows.Threading.Dispatcher.ShutdownImpl()
   在 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   在 System.Windows.Application.RunDispatcher(Object ignore)
   在 System.Windows.Application.RunInternal(Window window)
   在 Quicker.App.Main()

COMException: 没有注册类

没有注册类

StackTrace:
   在 Microsoft.Web.WebView2.Core.Raw.ICoreWebView2_13.get_Profile()
   在 Microsoft.Web.WebView2.Core.CoreWebView2.get_Profile()

版本:1.40.23 2024-04-18 21:59 Microsoft Windows NT 10.0.19045.0
版本:1.40.23 2024-04-11 13:01 Microsoft Windows NT 10.0.18363.0
版本:1.42.8 2024-04-07 08:37 Microsoft Windows NT 10.0.18362.0
版本:1.42.15 2024-04-05 14:01 Microsoft Windows NT 10.0.19045.0
版本:1.42.8 2024-04-03 07:49 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-02 10:49 Microsoft Windows NT 10.0.18363.0
版本:1.42.8 2024-04-02 09:16 Microsoft Windows NT 10.0.19045.0
版本:1.42.8 2024-04-02 08:57 Microsoft Windows NT 10.0.19045.0
版本:1.42.8 2024-04-02 08:53 Microsoft Windows NT 10.0.19045.0
版本:1.42.8 2024-04-02 07:51 Microsoft Windows NT 10.0.18363.0
版本:1.42.8 2024-04-02 07:36 Microsoft Windows NT 10.0.19044.0
版本:1.42.15 2024-04-01 19:44 Microsoft Windows NT 10.0.19045.0
版本:1.42.8 2024-04-01 18:49 Microsoft Windows NT 10.0.19045.0
版本:1.42.8 2024-04-01 18:25 Microsoft Windows NT 10.0.19044.0
版本:1.42.8 2024-04-01 17:36 Microsoft Windows NT 10.0.19044.0
版本:1.41.5 2024-03-29 22:03 Microsoft Windows NT 10.0.18363.0
版本:1.42.15 2024-03-27 23:50 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-03-20 16:05 Microsoft Windows NT 10.0.22621.0
报错信息 2
InvalidOperationException: CoreWebView2 members cannot be accessed after the WebView2 control is disposed.
StackTrace:
   在 Microsoft.Web.WebView2.Core.CoreWebView2Controller.MoveFocus(CoreWebView2MoveFocusReason reason)
   在 Microsoft.Web.WebView2.Wpf.WebView2.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndHost.SubclassWndProc(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)

COMException: 没有注册类

没有注册类

StackTrace:
   在 Microsoft.Web.WebView2.Core.Raw.ICoreWebView2Controller.MoveFocus(COREWEBVIEW2_MOVE_FOCUS_REASON reason)
   在 Microsoft.Web.WebView2.Core.CoreWebView2Controller.MoveFocus(CoreWebView2MoveFocusReason reason)

版本:1.42.15 2024-04-17 11:06 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-17 08:54 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-14 10:22 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-10 20:14 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-10 19:33 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-09 17:07 Microsoft Windows NT 10.0.19045.0
版本:1.42.8 2024-04-06 10:47 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-04 18:26 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-04 10:50 Microsoft Windows NT 10.0.19045.0
版本:1.42.8 2024-04-03 13:28 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-01 18:40 Microsoft Windows NT 10.0.19045.0
版本:1.42.8 2024-04-01 16:44 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-04-01 08:05 Microsoft Windows NT 10.0.19045.0
版本:1.42.8 2024-03-30 12:22 Microsoft Windows NT 10.0.19045.0
版本:1.42.8 2024-03-29 09:48 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-03-26 17:27 Microsoft Windows NT 10.0.22631.0
版本:1.42.15 2024-03-26 17:03 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-03-26 13:12 Microsoft Windows NT 10.0.22631.0
版本:1.42.15 2024-03-26 08:16 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-03-25 17:48 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-03-24 18:53 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-03-24 10:28 Microsoft Windows NT 10.0.22631.0
版本:1.42.15 2024-03-23 09:19 Microsoft Windows NT 10.0.19045.0
版本:1.42.15 2024-03-20 20:34 Microsoft Windows NT 10.0.18363.0