Exception:没有注册类 没有注册类

报错信息 1
COMException: 没有注册类

没有注册类

StackTrace:
   在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   在 Microsoft.Web.WebView2.Core.CoreWebView2Environment.<CreateCoreWebView2ControllerAsync>d__15.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 Microsoft.Web.WebView2.Wpf.WebView2.<Microsoft-Web-WebView2-Wpf-IWebView2Private-InitializeController>d__19.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 Microsoft.Web.WebView2.Wpf.WebView2Base.<>c__DisplayClass32_0.<<EnsureCoreWebView2Async>g__Init|0>d.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 DynamicClass.<>c__DisplayClass7.<<OnWindowCreated>b__5>d__b.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 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.5 2026-07-23 22:13 Microsoft Windows NT 10.0.19045.0
报错信息 2
COMException: 没有注册类

没有注册类

StackTrace:
   在 Standard.NativeMethods.DwmExtendFrameIntoClientArea(IntPtr hwnd, MARGINS& pMarInset)
   在 System.Windows.Shell.WindowChromeWorker._ExtendGlassFrame()
   在 System.Windows.Shell.WindowChromeWorker._UpdateFrameState(Boolean force)
   在 System.Windows.Shell.WindowChromeWorker._HandleDwmCompositionChanged(WM uMsg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Shell.WindowChromeWorker._WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.PublicHooksFilterMessage(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.5 2026-07-23 02:42 Microsoft Windows NT 10.0.19044.0
版本:1.45.5 2026-07-20 16:50 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-07-17 15:47 Microsoft Windows NT 10.0.19045.0
版本:1.45.5 2026-07-15 22:54 Microsoft Windows NT 10.0.26100.0
版本:1.45.5 2026-07-10 10:13 Microsoft Windows NT 10.0.19045.0
版本:1.45.5 2026-07-08 21:48 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-07-08 20:08 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-07-02 14:59 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-07-01 17:34 Microsoft Windows NT 10.0.19045.0
版本:1.45.5 2026-06-30 13:11 Microsoft Windows NT 10.0.26200.0