Skip to content

WinSDK version 22000 in use is no longer supported or installable, warnings referencing it should be updated #2110

@uint-nate

Description

@uint-nate

https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes?tabs=allfeatures#17.14.11

The following Windows SDK versions have been removed from the Visual Studio 2022 installer: 10.0.18362.0, 10.0.20348.0 and 10.0.22000.0. If you previously installed one of these versions of the SDK using Visual Studio it will be uninstalled when you update. If your project targets any of these SDKs you may encounter a build error such as: The Windows SDK version 10.0.22000.0 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". To resolve this, we recommend retargeting your project to 10.0.26100.0, or an earlier supported version if necessary. For a complete list of supported SDK versions please visit: https://developer.microsoft.com/windows/downloads/sdk-archive/. If you need to install an unsupported version of the SDK, you can find it here: https://developer.microsoft.com/windows/downloads/sdk-archive/index-legacy.

There are multiple references to this legacy SDK version in this project, which give the following warnings when using the Microsoft.Windows.WinmdGenerator/0.63.31-preview build system:

 No VS installation detected that has all the required workloads installed (Microsoft.NetCore.Component.Runtime.8.0
 Microsoft.NetCore.Component.SDK Microsoft.VisualStudio.Component.VC.Tools.ARM64
 Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.Windows11SDK.22000). Use
 C:\Users\mulli\.nuget\packages\microsoft.windows.winmdgenerator\0.63.31-preview\scripts\Install-VS.ps1 to acquire VS
 with the required components.

Get-RequiredWorkloads.ps1

As noted in a later comment, this is just a warning, not a hard error as I originally thought, but it should be removed/updated probably.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions