mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[Windows] fix choco installation (#7657)
This commit is contained in:
13
images/win/scripts/Installers/Install-NET48-devpack.ps1
Normal file
13
images/win/scripts/Installers/Install-NET48-devpack.ps1
Normal file
@@ -0,0 +1,13 @@
|
||||
################################################################################
|
||||
## File: Install-NET48-devpack.ps1
|
||||
## Desc: Install .NET 4.8 devpack
|
||||
################################################################################
|
||||
|
||||
# .NET 4.8 Dev pack
|
||||
$InstallerName = "ndp48-devpack-enu.exe"
|
||||
$InstallerUrl = "https://download.visualstudio.microsoft.com/download/pr/014120d7-d689-4305-befd-3cb711108212/0307177e14752e359fde5423ab583e43/${InstallerName}"
|
||||
$ArgumentList = ("Setup", "/passive", "/norestart")
|
||||
|
||||
Install-Binary -Url $InstallerUrl -Name $InstallerName -ArgumentList $ArgumentList
|
||||
|
||||
Invoke-PesterTests -TestFile "Tools" -TestName "NET48"
|
||||
Reference in New Issue
Block a user