微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

将 WDK 1809 扩展安装到 VS 2019 时出错

如何解决将 WDK 1809 扩展安装到 VS 2019 时出错

我正在尝试将 WDK 版本 1809 安装到我的 Visual Studio Enterprise 2019 中。除了在最后尝试安装 VS 扩展时,WDK 本身的安装没有错误

VSIX 安装程序提示我“此扩展程序无法安装在任何当前安装的产品上。”。 然而,日志中的先决条件看起来应该支持 VS 2019 (16.0),这是我所期望的,因为 Windows Enterprise 2019 LTSC 是 Windows 的最新 LTSC 分支,并且仍然需要 1809 SDK 和 WDK。

C:\Program Files (x86)\Windows Kits\10\Vsix 手动运行 WDK.vsix 也没有解决我的问题。

VSIX 安装日志:

6/28/2021 12:20:40 PM - Microsoft VSIX Installer
6/28/2021 12:20:40 PM - -------------------------------------------
6/28/2021 12:20:40 PM - vsixinstaller.exe version:
6/28/2021 12:20:40 PM - 16.10.1053
6/28/2021 12:20:40 PM - -------------------------------------------
6/28/2021 12:20:40 PM - Command line parameters:
6/28/2021 12:20:40 PM - C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe,C:\Program Files (x86)\Windows Kits\10\Vsix\WDK.vsix
6/28/2021 12:20:40 PM - -------------------------------------------
6/28/2021 12:20:40 PM - Microsoft VSIX Installer
6/28/2021 12:20:40 PM - -------------------------------------------
6/28/2021 12:20:40 PM - Initializing Install...
6/28/2021 12:20:40 PM - Extension Details...
6/28/2021 12:20:40 PM -  Identifier         : Microsoft.Windows.DriverKit
6/28/2021 12:20:40 PM -  Name               : Windows Driver Kit
6/28/2021 12:20:40 PM -  Author             : Microsoft Corporation
6/28/2021 12:20:40 PM -  Version            : 10.0.17740.0
6/28/2021 12:20:40 PM -  Description        : A set of extensions that integrates Windows Driver development into Visual Studio.
6/28/2021 12:20:40 PM -  Locale             : en-US
6/28/2021 12:20:40 PM -  MoreInfoURL        : 
6/28/2021 12:20:40 PM -  InstalledByMSI     : False
6/28/2021 12:20:40 PM -  SupportedFrameworkVersionRange : [4.5,)
6/28/2021 12:20:40 PM - 
6/28/2021 12:20:40 PM -  SignatureState     : ValidSignature
6/28/2021 12:20:40 PM -  SignedBy           : Microsoft Corporation
6/28/2021 12:20:40 PM -  Certificate Info   : 
6/28/2021 12:20:40 PM -  -------------------------------------------------------
6/28/2021 12:20:40 PM -  [Subject]       : CN=Microsoft Corporation,OU=OPC,O=Microsoft Corporation,L=Redmond,S=Washington,C=US
6/28/2021 12:20:40 PM -  [Issuer]        : CN=Microsoft Code Signing PCA 2010,C=US
6/28/2021 12:20:40 PM -  [Serial Number] : 33000001FC5DB8191027A666C10000000001FC
6/28/2021 12:20:40 PM -  [Not Before]    : 10/5/2017 8:26:08 PM
6/28/2021 12:20:40 PM -  [Not After]     : 10/5/2018 8:26:08 PM
6/28/2021 12:20:40 PM -  [Thumbprint]    : 5E940B33DEAE5945F506ADAB946A997867A40FEF
6/28/2021 12:20:40 PM - 
6/28/2021 12:20:40 PM -  Supported Products : 
6/28/2021 12:20:40 PM -  Microsoft.VisualStudio.Community
6/28/2021 12:20:40 PM -  Version : [15.0,16.0)
6/28/2021 12:20:40 PM -  Microsoft.VisualStudio.Pro
6/28/2021 12:20:40 PM -  Version : [15.0,16.0)
6/28/2021 12:20:40 PM -  Microsoft.VisualStudio.Enterprise
6/28/2021 12:20:40 PM -  Version : [15.0,16.0)
6/28/2021 12:20:40 PM - 
6/28/2021 12:20:40 PM -  References         : 
6/28/2021 12:20:40 PM -  -------------------------------------------------------
6/28/2021 12:20:40 PM -  Identifier   : Microsoft.VisualStudio.MPF
6/28/2021 12:20:40 PM -  Name         : Visual Studio MPF
6/28/2021 12:20:40 PM -  Version      : [11.0,12.0)
6/28/2021 12:20:40 PM -  MoreInfoURL  : 
6/28/2021 12:20:40 PM -  nested       : No
6/28/2021 12:20:40 PM - 
6/28/2021 12:20:40 PM -  Prerequisites      : 
6/28/2021 12:20:40 PM -  -------------------------------------------------------
6/28/2021 12:20:40 PM -  Identifier   : Microsoft.VisualStudio.Component.CoreEditor
6/28/2021 12:20:40 PM -  Name         : Visual Studio core editor
6/28/2021 12:20:40 PM -  Version      : [15.0,16.0)
6/28/2021 12:20:40 PM - 
6/28/2021 12:20:40 PM - Signature Details...
6/28/2021 12:20:40 PM -  Extension is signed with a valid signature.
6/28/2021 12:20:40 PM - 
6/28/2021 12:20:40 PM - Searching for applicable products...
6/28/2021 12:20:40 PM - Found installed product - Global Location
6/28/2021 12:20:40 PM - Found installed product - Visual Studio Enterprise 2019
6/28/2021 12:20:40 PM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
   at VSIXInstaller.ExtensionService.GetInstallableDataimpl(IInstallableExtension extension,String extensionPackParentName,Boolean isRepairsupported,IStateData stateData,IEnumerable`1& skuData)
   at VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath,IEnumerable`1& skuData)
   at VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData,Boolean isRepairsupported)
   at VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData,Boolean isRepairsupported)
   at VSIXInstaller.App.Initialize(Boolean isRepairsupported)
   at VSIXInstaller.App.Initialize()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from prevIoUs location where exception was thrown ---
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)

我尝试安装的系统是在 VM 上运行的 Windows Enterprise 2019 LTSC (1809)。

最近LTSC分支还需要的1809 WDK真的不支持VS2019吗??

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。