【发布时间】:2022-10-24 16:53:48
【问题描述】:
我正在尝试在完全更新的 Windows Server 2022 Core 安装上安装 Visual Studio 2022 Build 工具作为 ESXi 上的虚拟机。每当我开始设置时,我都会看到 GUI 在提取文件时出现,然后它崩溃并留下一个事件日志条目:
Application: vs_setup_bootstrapper.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NotImplementedException
at MS.Win32.UnsafeNativeMethods+ITfThreadMgr.CreateDocumentMgr(ITfDocumentMgr ByRef)
at System.Windows.Input.TextServicesContext.RegisterTextStore(System.Windows.Input.DefaultTextStore)
at System.Windows.Input.DefaultTextStore.get_Current()
at System.Windows.Input.TextServicesContext.SetFocusOnDefaultTextStore()
at System.Windows.Input.InputMethod.EnableOrDisableInputMethod(Boolean)
at System.Windows.Input.TextServicesManager.Focus(System.Windows.DependencyObject)
at System.Windows.Input.KeyboardDevice.ChangeFocus(System.Windows.DependencyObject, Int32)
at System.Windows.Input.KeyboardDevice.TryChangeFocus(System.Windows.DependencyObject, System.Windows.Input.IKeyboardInputProvider, Boolean, Boolean, Boolean)
at System.Windows.Input.KeyboardDevice.Focus(System.Windows.DependencyObject, Boolean, Boolean, Boolean)
at System.Windows.Input.KeyboardDevice.Focus(System.Windows.IInputElement)
我也尝试过手动提取文件并运行,但使用本指南也会发生同样的事情,因为安装程序本身正在崩溃:
https://silentinstallhq.com/visual-studio-build-tools-2022-silent-install-how-to-guide/
谁能告诉它为什么失败?
【问题讨论】:
标签: visual-studio-2022 build-tools windows-server-2022