From 6e806af2a01a391d67067e17e8e9a5fc935eadb3 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 24 Mar 2024 17:34:25 +0100 Subject: [PATCH] Add further Visual Studio versions --- scripts/Windows/Software/VisualStudio/Manage.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/Windows/Software/VisualStudio/Manage.ps1 b/scripts/Windows/Software/VisualStudio/Manage.ps1 index cc34f7c2..ef2153bf 100644 --- a/scripts/Windows/Software/VisualStudio/Manage.ps1 +++ b/scripts/Windows/Software/VisualStudio/Manage.ps1 @@ -7,7 +7,10 @@ $null = New-Module { $vsInstaller = "$programs32Path/Microsoft Visual Studio/Installer/vs_installer.exe"; [System.Tuple[string, string, string][]]$versions = @( - [System.Tuple]::Create("visualstudio2019enterprise", "VisualStudio.16.Release", "Microsoft.VisualStudio.Product.Enterprise")); + [System.Tuple]::Create("visualstudio2019enterprise", "VisualStudio.16.Release", "Microsoft.VisualStudio.Product.Enterprise"), + [System.Tuple]::Create("visualstudio2019community", "VisualStudio.16.Release", "Microsoft.VisualStudio.Product.Community"), + [System.Tuple]::Create("visualstudio2022enterprise", "VisualStudio.17.Release", "Microsoft.VisualStudio.Product.Enterprise"), + [System.Tuple]::Create("visualstudio2022community", "VisualStudio.17.Release", "Microsoft.VisualStudio.Product.Community")); function Get-ConfigPath([Context] $context, [string] $packageName) { return Join-Path $($context.BackupRoot()) "Visual Studio" $packageName ".vsconfig";