From 8fcad1f491e7621d8a76745b307241929773b1a4 Mon Sep 17 00:00:00 2001 From: Niels Laute Date: Wed, 24 Jun 2026 13:08:22 +0200 Subject: [PATCH] Fix dev setup .vsconfig component IDs for Visual Studio 2026 The winget configuration files now provision Visual Studio 2026 (channel 18.Release), but .vsconfig still listed Visual Studio 2022-era component IDs that were renamed or removed in VS 2026. The VSComponents DSC resource silently skipped them, so the Windows 11 SDK (26100) and WindowsAppSDK C# support never installed, breaking the build (cppwinrt / WindowsAppSDK failures). - Windows10SDK.22621/26100 -> Windows11SDK.22621/26100 (renamed in VS 2026) - ComponentGroup.WindowsAppSDK.Cs -> WindowsAppSdkSupport.CSharp; added WindowsAppSdkSupport.Cpp - Removed Windows10SDK.19041 (only a min-version floor) and Windows10SDK.20348 (unused, removed from VS 2026) - readme: correct '22621' SDK label from Windows 10 to Windows 11 Fixes #48778 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .vsconfig | 9 ++++----- doc/devdocs/readme.md | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.vsconfig b/.vsconfig index 4171b9ad659a..04f2d8bdf525 100644 --- a/.vsconfig +++ b/.vsconfig @@ -6,10 +6,8 @@ "Microsoft.VisualStudio.Workload.NativeDesktop", "Microsoft.VisualStudio.Workload.ManagedDesktop", "Microsoft.VisualStudio.Workload.Universal", - "Microsoft.VisualStudio.Component.Windows10SDK.19041", - "Microsoft.VisualStudio.Component.Windows10SDK.20348", - "Microsoft.VisualStudio.Component.Windows10SDK.22621", - "Microsoft.VisualStudio.Component.Windows10SDK.26100", + "Microsoft.VisualStudio.Component.Windows11SDK.22621", + "Microsoft.VisualStudio.Component.Windows11SDK.26100", "Microsoft.VisualStudio.ComponentGroup.UWP.VC", "Microsoft.VisualStudio.Component.UWP.VC.ARM64", "Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre", @@ -19,6 +17,7 @@ "Microsoft.VisualStudio.Component.VC.ATL", "Microsoft.VisualStudio.Component.VC.ATL.Spectre", "Microsoft.VisualStudio.Component.Vcpkg", - "Microsoft.VisualStudio.ComponentGroup.WindowsAppSDK.Cs" + "Microsoft.VisualStudio.Component.WindowsAppSdkSupport.CSharp", + "Microsoft.VisualStudio.Component.WindowsAppSdkSupport.Cpp" ] } \ No newline at end of file diff --git a/doc/devdocs/readme.md b/doc/devdocs/readme.md index fa18499c7284..db5ac8435785 100644 --- a/doc/devdocs/readme.md +++ b/doc/devdocs/readme.md @@ -11,7 +11,7 @@ Welcome to the PowerToys developer documentation. This documentation provides in - Desktop Development with C++ - WinUI application development - .NET desktop development - - Windows 10 SDK (10.0.22621.0) + - Windows 11 SDK (10.0.22621.0) - Windows 11 SDK (10.0.26100.3916) 1. .NET 8 SDK 1. Enable long paths in Windows (see [Enable Long Paths](https://docs.microsoft.com/windows/win32/fileio/maximum-file-path-limitation#enabling-long-paths-in-windows-10-version-1607-and-later) for details)