mirror of
https://github.com/actions/runner-images.git
synced 2026-01-06 18:19:54 +08:00
Install-Vsix.ps1 has been created
This commit is contained in:
@@ -92,7 +92,7 @@
|
|||||||
{
|
{
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"source": "{{template_dir}}/toolsets/toolset-2019.json",
|
"source": "{{template_dir}}/toolsets/toolset-2019.json",
|
||||||
"destination": "{{user `toolset_json_path`}}"
|
"destination": "{{user `tonolset_jso_path`}}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "windows-shell",
|
"type": "windows-shell",
|
||||||
|
|||||||
21
images/win/scripts/Installers/Install-Vsix.ps1
Normal file
21
images/win/scripts/Installers/Install-Vsix.ps1
Normal 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
|
||||||
|
}
|
||||||
@@ -259,6 +259,24 @@
|
|||||||
"Microsoft.VisualStudio.Workload.VisualStudioExtension",
|
"Microsoft.VisualStudio.Workload.VisualStudioExtension",
|
||||||
"Component.MDD.Linux",
|
"Component.MDD.Linux",
|
||||||
"Component.MDD.Linux.GCC.arm"
|
"Component.MDD.Linux.GCC.arm"
|
||||||
|
],
|
||||||
|
"vsix": [
|
||||||
|
{
|
||||||
|
"name": "Microsoft.DataTools.AnalysisServices.vsix",
|
||||||
|
"url": "https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ProBITools/vsextensions/MicrosoftAnalysisServicesModelingProjects/latest/vspackage"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Microsoft.DataTools.IntegrationServices.exe",
|
||||||
|
"url": "https://marketplace.visualstudio.com/_apis/public/gallery/publishers/SSIS/vsextensions/SqlServerIntegrationServicesProjects/latest/vspackage"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Microsoft.DataTools.ReportingServices.vsix",
|
||||||
|
"url": "https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ProBITools/vsextensions/MicrosoftReportProjectsforVisualStudio/latest/vspackage"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Microsoft.VisualStudio.Installer.Projects.vsix",
|
||||||
|
"url": "https://marketplace.visualstudio.com/_apis/public/gallery/publishers/VisualStudioClient/vsextensions/MicrosoftVisualStudio2017InstallerProjects/latest/vspackage"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user