From 60a58c93d73358130c26d2023bb952e9408fe1f7 Mon Sep 17 00:00:00 2001 From: "Dustin L. Howett" Date: Wed, 10 Jun 2026 18:22:02 -0500 Subject: [PATCH] Update the WinGet configs, vsconfig and README for VS 2026 (#20313) --- .config/configuration.vsEnterprise.winget | 6 +- .config/configuration.vsProfessional.winget | 6 +- .config/configuration.winget | 6 +- .vsconfig | 77 +++++++++++---------- README.md | 18 ++--- 5 files changed, 57 insertions(+), 56 deletions(-) diff --git a/.config/configuration.vsEnterprise.winget b/.config/configuration.vsEnterprise.winget index 589244063d..a434653bd3 100644 --- a/.config/configuration.vsEnterprise.winget +++ b/.config/configuration.vsEnterprise.winget @@ -22,11 +22,11 @@ properties: - resource: Microsoft.WinGet.DSC/WinGetPackage id: vsPackage directives: - description: Install Visual Studio 2022 Enterprise (any edition is OK) + description: Install Visual Studio 2026 Enterprise (any edition is OK) # Requires elevation for the set operation (i.e., installation) securityContext: elevated settings: - id: Microsoft.VisualStudio.2022.Enterprise + id: Microsoft.VisualStudio.Enterprise source: winget - resource: Microsoft.VisualStudio.DSC/VSComponents dependsOn: @@ -38,6 +38,6 @@ properties: securityContext: elevated settings: productId: Microsoft.VisualStudio.Product.Enterprise - channelId: VisualStudio.17.Release + channelId: VisualStudio.18.Release vsConfigFile: '${WinGetConfigRoot}\..\.vsconfig' configurationVersion: 0.2.0 diff --git a/.config/configuration.vsProfessional.winget b/.config/configuration.vsProfessional.winget index 549b6227bb..8b9667e7e7 100644 --- a/.config/configuration.vsProfessional.winget +++ b/.config/configuration.vsProfessional.winget @@ -22,11 +22,11 @@ properties: - resource: Microsoft.WinGet.DSC/WinGetPackage id: vsPackage directives: - description: Install Visual Studio 2022 Professional (any edition is OK) + description: Install Visual Studio 2026 Professional (any edition is OK) # Requires elevation for the set operation (i.e., installation) securityContext: elevated settings: - id: Microsoft.VisualStudio.2022.Professional + id: Microsoft.VisualStudio.Professional source: winget - resource: Microsoft.VisualStudio.DSC/VSComponents dependsOn: @@ -38,6 +38,6 @@ properties: securityContext: elevated settings: productId: Microsoft.VisualStudio.Product.Professional - channelId: VisualStudio.17.Release + channelId: VisualStudio.18.Release vsConfigFile: '${WinGetConfigRoot}\..\.vsconfig' configurationVersion: 0.2.0 diff --git a/.config/configuration.winget b/.config/configuration.winget index 5d7823a002..c2d907fa88 100644 --- a/.config/configuration.winget +++ b/.config/configuration.winget @@ -22,11 +22,11 @@ properties: - resource: Microsoft.WinGet.DSC/WinGetPackage id: vsPackage directives: - description: Install Visual Studio 2022 Community (any edition is OK) + description: Install Visual Studio 2026 Community (any edition is OK) # Requires elevation for the set operation (i.e., installation) securityContext: elevated settings: - id: Microsoft.VisualStudio.2022.Community + id: Microsoft.VisualStudio.Community source: winget - resource: Microsoft.VisualStudio.DSC/VSComponents dependsOn: @@ -38,6 +38,6 @@ properties: securityContext: elevated settings: productId: Microsoft.VisualStudio.Product.Community - channelId: VisualStudio.17.Release + channelId: VisualStudio.18.Release vsConfigFile: '${WinGetConfigRoot}\..\.vsconfig' configurationVersion: 0.2.0 diff --git a/.vsconfig b/.vsconfig index a3997ad694..45a10b28c7 100644 --- a/.vsconfig +++ b/.vsconfig @@ -1,50 +1,57 @@ { "version": "1.0", "components": [ - "Microsoft.VisualStudio.Component.Roslyn.Compiler", + "Microsoft.Component.ClickOnce", "Microsoft.Component.MSBuild", - "Microsoft.VisualStudio.Component.Roslyn.LanguageServices", - "Microsoft.VisualStudio.Component.SQL.LocalDB.Runtime", - "Microsoft.VisualStudio.Component.SQL.CLR", - "Microsoft.VisualStudio.Component.CoreEditor", - "Microsoft.VisualStudio.Workload.CoreEditor", - "Microsoft.Net.Component.4.8.SDK", + "Microsoft.Component.NetFX.Native", + "Microsoft.ComponentGroup.Blend", + "Microsoft.ComponentGroup.ClickOnce.Publish", "Microsoft.Net.Component.4.7.2.TargetingPack", - "Microsoft.VisualStudio.Component.TextTemplating", - "Microsoft.VisualStudio.Component.NuGet", + "Microsoft.Net.Component.4.8.1.SDK", + "Microsoft.Net.Component.4.8.1.TargetingPack", + "Microsoft.Net.Component.4.8.SDK", + "Microsoft.Net.ComponentGroup.4.8.1.DeveloperTools", + "Microsoft.Net.ComponentGroup.DevelopmentPrerequisites", + "Microsoft.NetCore.Component.DevelopmentTools", + "Microsoft.NetCore.Component.Runtime.10.0", "Microsoft.NetCore.Component.Runtime.8.0", "Microsoft.NetCore.Component.SDK", "Microsoft.VisualStudio.Component.AppInsights.Tools", - "Microsoft.Net.Component.4.8.TargetingPack", + "Microsoft.VisualStudio.Component.CoreEditor", "Microsoft.VisualStudio.Component.DiagnosticTools", - "Microsoft.VisualStudio.Component.ClassDesigner", - "Microsoft.VisualStudio.Component.GraphDocument", - "Microsoft.VisualStudio.Component.CodeMap", - "Microsoft.VisualStudio.Component.VC.CoreIde", - "Microsoft.VisualStudio.Component.VC.Tools.x86.x64", - "Microsoft.VisualStudio.Component.Windows11SDK.22621", - "Microsoft.VisualStudio.ComponentGroup.MSIX.Packaging", - "Microsoft.VisualStudio.ComponentGroup.WindowsAppSDK.Cs", - "Microsoft.ComponentGroup.Blend", - "Microsoft.VisualStudio.ComponentGroup.ArchitectureTools.Native", - "Microsoft.VisualStudio.Component.VC.Redist.14.Latest", - "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core", - "Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions.CMake", - "Microsoft.VisualStudio.Component.Vcpkg", - "Microsoft.Component.NetFX.Native", + "Microsoft.VisualStudio.Component.FSharp", "Microsoft.VisualStudio.Component.Graphics", - "Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin", - "Microsoft.VisualStudio.ComponentGroup.UWP.Support", - "Microsoft.VisualStudio.Component.VC.Tools.ARM64EC", - "Microsoft.VisualStudio.Component.UWP.VC.ARM64EC", - "Microsoft.VisualStudio.Component.VC.Tools.ARM64", + "Microsoft.VisualStudio.Component.ManagedDesktop.Core", + "Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites", + "Microsoft.VisualStudio.Component.NuGet", + "Microsoft.VisualStudio.Component.Roslyn.Compiler", + "Microsoft.VisualStudio.Component.Roslyn.LanguageServices", + "Microsoft.VisualStudio.Component.SQL.CLR", + "Microsoft.VisualStudio.Component.TextTemplating", "Microsoft.VisualStudio.Component.UWP.VC.ARM64", - "Microsoft.VisualStudio.Component.VC.Tools.ARM", - "Microsoft.VisualStudio.ComponentGroup.UWP.VC", - "Microsoft.VisualStudio.Workload.NativeDesktop", - "Microsoft.VisualStudio.ComponentGroup.WindowsAppDevelopment.Prerequisites", + "Microsoft.VisualStudio.Component.UWP.VC.ARM64EC", + "Microsoft.VisualStudio.Component.VC.ASAN", + "Microsoft.VisualStudio.Component.VC.CoreIde", + "Microsoft.VisualStudio.Component.VC.Redist.14.Latest", + "Microsoft.VisualStudio.Component.VC.Tools.ARM64", + "Microsoft.VisualStudio.Component.VC.Tools.ARM64EC", + "Microsoft.VisualStudio.Component.VC.Tools.x86.x64", + "Microsoft.VisualStudio.Component.Vcpkg", + "Microsoft.VisualStudio.Component.VisualStudioData", + "Microsoft.VisualStudio.Component.Windows11SDK.26100", + "Microsoft.VisualStudio.Component.WindowsAppSdkSupport.Cpp", + "Microsoft.VisualStudio.Component.WindowsAppSdkSupport.CSharp", + "Microsoft.VisualStudio.ComponentGroup.MSIX.Packaging", + "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core", "Microsoft.VisualStudio.ComponentGroup.UWP.NetCoreAndStandard", + "Microsoft.VisualStudio.ComponentGroup.UWP.Support", + "Microsoft.VisualStudio.ComponentGroup.UWP.VC", + "Microsoft.VisualStudio.ComponentGroup.WindowsAppDevelopment.Prerequisites", + "Microsoft.VisualStudio.ComponentGroup.WindowsAppDevelopment.VC", + "Microsoft.VisualStudio.Workload.CoreEditor", + "Microsoft.VisualStudio.Workload.ManagedDesktop", + "Microsoft.VisualStudio.Workload.NativeDesktop", "Microsoft.VisualStudio.Workload.Universal" ], "extensions": [] -} +} \ No newline at end of file diff --git a/README.md b/README.md index ad6ec22bd2..de45a7c5ff 100644 --- a/README.md +++ b/README.md @@ -339,7 +339,7 @@ You can configure your environment to build Terminal in one of two ways: ### Using WinGet configuration file After cloning the repository, you can use a [WinGet configuration file](https://learn.microsoft.com/en-us/windows/package-manager/configuration/#use-a-winget-configuration-file-to-configure-your-machine) -to set up your environment. The [default configuration file](.config/configuration.winget) installs Visual Studio 2022 Community & rest of the required tools. There are two other variants of the configuration file available in the [.config](.config) directory for Enterprise & Professional editions of Visual Studio 2022. To run the default configuration file, you can either double-click the file from explorer or run the following command: +to set up your environment. The [default configuration file](.config/configuration.winget) installs Visual Studio 2026 Community & rest of the required tools. There are two other variants of the configuration file available in the [.config](.config) directory for Enterprise & Professional editions of Visual Studio 2026. To run the default configuration file, you can either double-click the file from explorer or run the following command: ```powershell winget configure .config\configuration.winget @@ -353,19 +353,13 @@ winget configure .config\configuration.winget app](https://docs.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development) to locally install and run Windows Terminal * You must have [PowerShell 7 or later](https://github.com/PowerShell/PowerShell/releases/latest) installed -* You must have the [Windows 11 (10.0.26100.0) - SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/) - installed -* You must have at least [VS - 2022](https://visualstudio.microsoft.com/downloads/) installed +* You must have the [Windows 11 (10.0.26100) SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/) installed at version 10.0.26100.8249 or greater. +* You must have at least [VS 2026](https://visualstudio.microsoft.com/downloads/) version 18.6 installed * You must install the following Workloads via the VS Installer. Note: Opening - the solution in VS 2022 will [prompt you to install missing components - automatically](https://devblogs.microsoft.com/setup/configure-visual-studio-across-your-organization-with-vsconfig/): + the solution will [prompt you to install missing components automatically](https://devblogs.microsoft.com/setup/configure-visual-studio-across-your-organization-with-vsconfig/): * Desktop Development with C++ - * Universal Windows Platform Development - * **The following Individual Components** - * C++ (v143) Universal Windows Platform Tools -* You must install the [.NET Framework Targeting Pack](https://docs.microsoft.com/dotnet/framework/install/guide-for-developers#to-install-the-net-framework-developer-pack-or-targeting-pack) to build test projects + * WinUI application development +* You must install the [.NET Framework 4.7.2 Targeting Pack](https://docs.microsoft.com/dotnet/framework/install/guide-for-developers#to-install-the-net-framework-developer-pack-or-targeting-pack) to build test projects ## Building the Code