Files
runner-images/images/win/scripts/Installers/Install-Vsix.ps1
Andrey Mishechkin (GITHUB INC) 63fe681d98 Case has been fixed
2020-09-11 19:40:28 +04:00

20 lines
670 B
PowerShell

###################################################################################
## File: Install-Vsix.ps1
## Desc: Install the Visual Studio Extensions from toolset.json
###################################################################################
$ErrorActionPreference = "Stop"
$toolset = Get-ToolsetContent
$vsixPackagesList = $toolset.visualStudio.vsix
if (-not $vsixPackagesList) {
Write-Host "No extensions to install"
exit 0
}
$vsVersion = $toolset.visualStudio.Version
$vsixPackagesList | ForEach-Object {
Install-VsixExtension -Url $_.url -Name $_.name -VSversion $vsVersion
}
Invoke-PesterTests -TestFile "Vsix"