Skip to content

Commit

Permalink
Merge branch 'Brendan-McCoy-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenba committed May 13, 2016
2 parents 9c3132d + 413c8aa commit 242b0ef
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tools/Enable-LocalTestMe.ps1
Expand Up @@ -33,6 +33,15 @@ if(!$MakeCertPath) {
$xArch = "x64"
}
$MakeCertPath = Join-Path $WinSDKDir "bin\$xArch\makecert.exe"

# If registry scan finds wrong path, try the Azure extension's makecert
if(!(Test-Path $MakeCertPath)) {
if($xArch = "x64"){
$MakeCertPath = ${env:ProgramFiles(x86)}/"Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Microsoft Azure Data Lake Tools for Visual Studio 2015\2.0.6000.0\CppSDK\SDK\bin\makecert.exe"
} else {
$MakeCertPath = ${env:ProgramFiles}/"Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Microsoft Azure Data Lake Tools for Visual Studio 2015\2.0.6000.0\CppSDK\SDK\bin\makecert.exe"
}
}
}

if(!(Test-Path $MakeCertPath)) {
Expand Down

0 comments on commit 242b0ef

Please sign in to comment.