mirror of
https://github.com/actions/runner-images.git
synced 2026-01-06 01:59:46 +08:00
[Windows] Improve Visual Studio installation scripts to support Preview versions (#3850)
* Support Preview versions of Visual Studio * resolve comments * Fix test * fix tests
This commit is contained in:
@@ -5,7 +5,7 @@ Describe "Visual Studio" {
|
||||
}
|
||||
|
||||
It "Devenv.exe" {
|
||||
$vsInstallRoot = Get-VisualStudioPath
|
||||
$vsInstallRoot = (Get-VisualStudioInstance).InstallationPath
|
||||
$devenvexePath = "${vsInstallRoot}\Common7\IDE\devenv.exe"
|
||||
$devenvexePath | Should -Exist
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user