Vstype typo

This commit is contained in:
Leonid Lapshin
2020-09-01 16:05:15 +03:00
parent cf9a92d64e
commit e1d821a073
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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
}