mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
vs: revert $vsInstallRoot (#4234)
This commit is contained in:
committed by
GitHub
parent
1400689a45
commit
3264ac55cf
@@ -32,6 +32,7 @@ if ($instanceFolders -is [array])
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Updating content of MachineState.json file to disable autoupdate of VSIX extensions
|
# Updating content of MachineState.json file to disable autoupdate of VSIX extensions
|
||||||
|
$vsInstallRoot = (Get-VisualStudioInstance).InstallationPath
|
||||||
$newContent = '{"Extensions":[{"Key":"1e906ff5-9da8-4091-a299-5c253c55fdc9","Value":{"ShouldAutoUpdate":false}},{"Key":"Microsoft.VisualStudio.Web.AzureFunctions","Value":{"ShouldAutoUpdate":false}}],"ShouldAutoUpdate":false,"ShouldCheckForUpdates":false}'
|
$newContent = '{"Extensions":[{"Key":"1e906ff5-9da8-4091-a299-5c253c55fdc9","Value":{"ShouldAutoUpdate":false}},{"Key":"Microsoft.VisualStudio.Web.AzureFunctions","Value":{"ShouldAutoUpdate":false}}],"ShouldAutoUpdate":false,"ShouldCheckForUpdates":false}'
|
||||||
Set-Content -Path "$vsInstallRoot\Common7\IDE\Extensions\MachineState.json" -Value $newContent
|
Set-Content -Path "$vsInstallRoot\Common7\IDE\Extensions\MachineState.json" -Value $newContent
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user