mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
Vstype typo
This commit is contained in:
@@ -29,7 +29,7 @@ $buildbootstrapperUrl = "https://aka.ms/vs/${subVersion}/release/vs_buildtools.e
|
||||
Install-VisualStudio -BootstrapperUrl $bootstrapperUrl -WorkLoads $workLoadsArgument
|
||||
Install-VisualStudio -BootstrapperUrl $buildbootstrapperUrl -WorkLoads $buildWorkLoadsArgument
|
||||
|
||||
$vsInstallRoot = (Get-VisualStudioInstallation -VStype "VS").InstallationPath
|
||||
$vsInstallRoot = (Get-VisualStudioInstallation -VSInstallType "VS").InstallationPath
|
||||
|
||||
# Initialize Visual Studio Experimental Instance
|
||||
& "$vsInstallRoot\Common7\IDE\devenv.exe" /RootSuffix Exp /ResetSettings General.vssettings /Command File.Exit
|
||||
|
||||
@@ -5,7 +5,7 @@ Describe "Visual Studio" {
|
||||
}
|
||||
|
||||
It "Devenv.exe" {
|
||||
$vsInstallRoot = (Get-VisualStudioInstallation -VStype "VS").InstallationPath
|
||||
$vsInstallRoot = (Get-VisualStudioInstallation -VSInstallType "VS").InstallationPath
|
||||
$devenvexePath = "${vsInstallRoot}\Common7\IDE\devenv.exe"
|
||||
$devenvexePath | Should -Exist
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user