Update the WinGet configs, vsconfig and README for VS 2026 (#20313)

This commit is contained in:
Dustin L. Howett
2026-06-10 18:22:02 -05:00
committed by GitHub
parent fc958b13ce
commit 60a58c93d7
5 changed files with 57 additions and 56 deletions

View File

@@ -22,11 +22,11 @@ properties:
- resource: Microsoft.WinGet.DSC/WinGetPackage - resource: Microsoft.WinGet.DSC/WinGetPackage
id: vsPackage id: vsPackage
directives: 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) # Requires elevation for the set operation (i.e., installation)
securityContext: elevated securityContext: elevated
settings: settings:
id: Microsoft.VisualStudio.2022.Enterprise id: Microsoft.VisualStudio.Enterprise
source: winget source: winget
- resource: Microsoft.VisualStudio.DSC/VSComponents - resource: Microsoft.VisualStudio.DSC/VSComponents
dependsOn: dependsOn:
@@ -38,6 +38,6 @@ properties:
securityContext: elevated securityContext: elevated
settings: settings:
productId: Microsoft.VisualStudio.Product.Enterprise productId: Microsoft.VisualStudio.Product.Enterprise
channelId: VisualStudio.17.Release channelId: VisualStudio.18.Release
vsConfigFile: '${WinGetConfigRoot}\..\.vsconfig' vsConfigFile: '${WinGetConfigRoot}\..\.vsconfig'
configurationVersion: 0.2.0 configurationVersion: 0.2.0

View File

@@ -22,11 +22,11 @@ properties:
- resource: Microsoft.WinGet.DSC/WinGetPackage - resource: Microsoft.WinGet.DSC/WinGetPackage
id: vsPackage id: vsPackage
directives: 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) # Requires elevation for the set operation (i.e., installation)
securityContext: elevated securityContext: elevated
settings: settings:
id: Microsoft.VisualStudio.2022.Professional id: Microsoft.VisualStudio.Professional
source: winget source: winget
- resource: Microsoft.VisualStudio.DSC/VSComponents - resource: Microsoft.VisualStudio.DSC/VSComponents
dependsOn: dependsOn:
@@ -38,6 +38,6 @@ properties:
securityContext: elevated securityContext: elevated
settings: settings:
productId: Microsoft.VisualStudio.Product.Professional productId: Microsoft.VisualStudio.Product.Professional
channelId: VisualStudio.17.Release channelId: VisualStudio.18.Release
vsConfigFile: '${WinGetConfigRoot}\..\.vsconfig' vsConfigFile: '${WinGetConfigRoot}\..\.vsconfig'
configurationVersion: 0.2.0 configurationVersion: 0.2.0

View File

@@ -22,11 +22,11 @@ properties:
- resource: Microsoft.WinGet.DSC/WinGetPackage - resource: Microsoft.WinGet.DSC/WinGetPackage
id: vsPackage id: vsPackage
directives: 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) # Requires elevation for the set operation (i.e., installation)
securityContext: elevated securityContext: elevated
settings: settings:
id: Microsoft.VisualStudio.2022.Community id: Microsoft.VisualStudio.Community
source: winget source: winget
- resource: Microsoft.VisualStudio.DSC/VSComponents - resource: Microsoft.VisualStudio.DSC/VSComponents
dependsOn: dependsOn:
@@ -38,6 +38,6 @@ properties:
securityContext: elevated securityContext: elevated
settings: settings:
productId: Microsoft.VisualStudio.Product.Community productId: Microsoft.VisualStudio.Product.Community
channelId: VisualStudio.17.Release channelId: VisualStudio.18.Release
vsConfigFile: '${WinGetConfigRoot}\..\.vsconfig' vsConfigFile: '${WinGetConfigRoot}\..\.vsconfig'
configurationVersion: 0.2.0 configurationVersion: 0.2.0

View File

@@ -1,50 +1,57 @@
{ {
"version": "1.0", "version": "1.0",
"components": [ "components": [
"Microsoft.VisualStudio.Component.Roslyn.Compiler", "Microsoft.Component.ClickOnce",
"Microsoft.Component.MSBuild", "Microsoft.Component.MSBuild",
"Microsoft.VisualStudio.Component.Roslyn.LanguageServices", "Microsoft.Component.NetFX.Native",
"Microsoft.VisualStudio.Component.SQL.LocalDB.Runtime", "Microsoft.ComponentGroup.Blend",
"Microsoft.VisualStudio.Component.SQL.CLR", "Microsoft.ComponentGroup.ClickOnce.Publish",
"Microsoft.VisualStudio.Component.CoreEditor",
"Microsoft.VisualStudio.Workload.CoreEditor",
"Microsoft.Net.Component.4.8.SDK",
"Microsoft.Net.Component.4.7.2.TargetingPack", "Microsoft.Net.Component.4.7.2.TargetingPack",
"Microsoft.VisualStudio.Component.TextTemplating", "Microsoft.Net.Component.4.8.1.SDK",
"Microsoft.VisualStudio.Component.NuGet", "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.Runtime.8.0",
"Microsoft.NetCore.Component.SDK", "Microsoft.NetCore.Component.SDK",
"Microsoft.VisualStudio.Component.AppInsights.Tools", "Microsoft.VisualStudio.Component.AppInsights.Tools",
"Microsoft.Net.Component.4.8.TargetingPack", "Microsoft.VisualStudio.Component.CoreEditor",
"Microsoft.VisualStudio.Component.DiagnosticTools", "Microsoft.VisualStudio.Component.DiagnosticTools",
"Microsoft.VisualStudio.Component.ClassDesigner", "Microsoft.VisualStudio.Component.FSharp",
"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.Graphics", "Microsoft.VisualStudio.Component.Graphics",
"Microsoft.VisualStudio.ComponentGroup.UWP.Xamarin", "Microsoft.VisualStudio.Component.ManagedDesktop.Core",
"Microsoft.VisualStudio.ComponentGroup.UWP.Support", "Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites",
"Microsoft.VisualStudio.Component.VC.Tools.ARM64EC", "Microsoft.VisualStudio.Component.NuGet",
"Microsoft.VisualStudio.Component.UWP.VC.ARM64EC", "Microsoft.VisualStudio.Component.Roslyn.Compiler",
"Microsoft.VisualStudio.Component.VC.Tools.ARM64", "Microsoft.VisualStudio.Component.Roslyn.LanguageServices",
"Microsoft.VisualStudio.Component.SQL.CLR",
"Microsoft.VisualStudio.Component.TextTemplating",
"Microsoft.VisualStudio.Component.UWP.VC.ARM64", "Microsoft.VisualStudio.Component.UWP.VC.ARM64",
"Microsoft.VisualStudio.Component.VC.Tools.ARM", "Microsoft.VisualStudio.Component.UWP.VC.ARM64EC",
"Microsoft.VisualStudio.ComponentGroup.UWP.VC", "Microsoft.VisualStudio.Component.VC.ASAN",
"Microsoft.VisualStudio.Workload.NativeDesktop", "Microsoft.VisualStudio.Component.VC.CoreIde",
"Microsoft.VisualStudio.ComponentGroup.WindowsAppDevelopment.Prerequisites", "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.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" "Microsoft.VisualStudio.Workload.Universal"
], ],
"extensions": [] "extensions": []
} }

View File

@@ -339,7 +339,7 @@ You can configure your environment to build Terminal in one of two ways:
### Using WinGet configuration file ### 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) 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 ```powershell
winget configure .config\configuration.winget 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) app](https://docs.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development)
to locally install and run Windows Terminal 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 [PowerShell 7 or later](https://github.com/PowerShell/PowerShell/releases/latest) installed
* You must have the [Windows 11 (10.0.26100.0) * 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.
SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/) * You must have at least [VS 2026](https://visualstudio.microsoft.com/downloads/) version 18.6 installed
installed
* You must have at least [VS
2022](https://visualstudio.microsoft.com/downloads/) installed
* You must install the following Workloads via the VS Installer. Note: Opening * You must install the following Workloads via the VS Installer. Note: Opening
the solution in VS 2022 will [prompt you to install missing components the solution will [prompt you to install missing components automatically](https://devblogs.microsoft.com/setup/configure-visual-studio-across-your-organization-with-vsconfig/):
automatically](https://devblogs.microsoft.com/setup/configure-visual-studio-across-your-organization-with-vsconfig/):
* Desktop Development with C++ * Desktop Development with C++
* Universal Windows Platform Development * WinUI application development
* **The following Individual Components** * 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
* 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
## Building the Code ## Building the Code