Add further Visual Studio versions
This commit is contained in:
parent
22f3932ada
commit
6e806af2a0
1 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,10 @@ $null = New-Module {
|
||||||
$vsInstaller = "$programs32Path/Microsoft Visual Studio/Installer/vs_installer.exe";
|
$vsInstaller = "$programs32Path/Microsoft Visual Studio/Installer/vs_installer.exe";
|
||||||
|
|
||||||
[System.Tuple[string, string, string][]]$versions = @(
|
[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) {
|
function Get-ConfigPath([Context] $context, [string] $packageName) {
|
||||||
return Join-Path $($context.BackupRoot()) "Visual Studio" $packageName ".vsconfig";
|
return Join-Path $($context.BackupRoot()) "Visual Studio" $packageName ".vsconfig";
|
||||||
|
|
Loading…
Reference in a new issue