[findMSBuild.ps1] Set-StrictMode to Latest

This commit is contained in:
Alexander Karatarakis 2018-02-28 18:59:51 -08:00
parent bbe0aa9230
commit 1fb3785bee

View File

@ -4,9 +4,11 @@ param(
[string]$withVSPath = ""
)
Set-StrictMode -Version Latest
$scriptsDir = split-path -parent $script:MyInvocation.MyCommand.Definition
$withVSPath = $withVSPath -replace "\\$" # Remove potential trailing backslash
$scriptsDir = split-path -parent $script:MyInvocation.MyCommand.Definition
$VisualStudioInstallationInstances = & $scriptsDir\findVisualStudioInstallationInstances.ps1
if ($VisualStudioInstallationInstances -eq $null)
{