1. 用VisualStudioSetup安装了visual studio 2022 preview,安装完成后提示重启,没有立即重启,安装了别的一些软件后重启。2. 重启后点击visual studio 2022 preview闪退,尝试打开VisualStudioSetup也闪退。3. 以上两者的闪退会在事件查看器中产生同样的3条错误提示:①应用程序: devenv.exeFramework 版本: v4.0.30319说明: 由于未经处理的异常,进程终止。异常信息: System.TypeLoadException   在 System.Windows.Automation.Peers.AutomationPeer.Initialize()   在 System.Windows.Automation.Peers.AutomationPeer..cctor()异常信息: System.TypeInitializationException   在 System.Windows.Automation.Peers.AutomationPeer.RaiseFocusChangedEventHelper(System.Windows.IInputElement)   在 System.Windows.Input.KeyboardDevice.ChangeFocus(System.Windows.DependencyObject, Int32)   在 System.Windows.Input.KeyboardDevice.TryChangeFocus(System.Windows.DependencyObject, System.Windows.Input.IKeyboardInputProvider, Boolean, Boolean, Boolean)   在 System.Windows.Input.KeyboardDevice.Focus(System.Windows.DependencyObject, Boolean, Boolean, Boolean)   在 System.Windows.Input.KeyboardDevice.Focus(System.Windows.IInputElement)   在 System.Windows.Interop.HwndKeyboardInputProvider.OnSetFocus(IntPtr)   在 System.Windows.Interop.HwndKeyboardInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef)   在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)   在 MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)   在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)   在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)②错误应用程序名称: devenv.exe,版本: 17.4.33006.217,时间戳: 0x2786f1c4错误模块名称: KERNELBASE.dll,版本: 10.0.19041.1110,时间戳: 0x4809adf2异常代码: 0xe0434352错误偏移量: 0x0000000000034ed9错误进程 ID: 0x12ac错误应用程序启动时间: 0x01d8dfd0ad15eb61错误应用程序路径: D:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\devenv.exe错误模块路径: C:\Windows\System32\KERNELBASE.dll报告 ID: 6920a049-3237-4a84-afb6-a20af058d9b1错误程序包全名: 错误程序包相对应用程序 ID: ③错误应用程序名称: devenv.exe,版本: 17.4.33006.217,时间戳: 0x2786f1c4错误模块名称: KERNELBASE.dll,版本: 10.0.19041.1110,时间戳: 0x4809adf2异常代码: 0xc000041d错误偏移量: 0x0000000000034ed9错误进程 ID: 0x12ac错误应用程序启动时间: 0x01d8dfd0ad15eb61错误应用程序路径: D:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\devenv.exe错误模块路径: C:\Windows\System32\KERNELBASE.dll报告 ID: 0076542b-8da8-4aac-b47b-ebff69bb9d25错误程序包全名: 错误程序包相对应用程序 ID:     
        安装最新版本vs2022时遇到相同问题devenv.exe/resetsettings弹窗:调用的目标发生异常此时devenv.exe已经处于无法运行状态,vs_setup.exe也处于相同状态,想要卸载重装也无法启动卸载程序(事件日志中发生的异常与问题描述一致)此是否有帮助?是否抱歉,这没有帮助。太棒了!感谢你的反馈。你对此的满意度如何?感谢你的反馈,它能帮助改进网站。你对此的满意度如何?感谢你的反馈。
        感谢您的反馈,您可以点按这里前往VisualStudiocommunitysupport板块发帖获取帮助,会有更关注这些问题的工程师为您进行解答。(

点赞(67) 打赏

微信小程序

微信扫一扫体验

立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部