Install-Vsix.ps1 has been created

This commit is contained in:
Andrey Mishechkin (GITHUB INC)
2020-09-09 08:55:15 +04:00
parent 86faddeb95
commit 40333f6adf
3 changed files with 40 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
###################################################################################
## File: Install-Vsix.ps1
## Desc: Install the Visual Studio Extensions from toolset.json
###################################################################################
Import-Module -Name ImageHelpers -Force
$ErrorActionPreference = "Stop"
$toolset = Get-ToolsetContent
$requiredVsixs = $toolset.visualStudio.vsix
if (Test-IsWin19) {
$VsVersion = '2019'
}
else {
$VsVersion = '2017'
}
$requiredVsixs | ForEach-Object {
Install-VsixExtension -url $_.url -name $_.name -VsVersion $VsVersion
}