From e7fe374219de00fd5ede2b389b5b479631c46ec5 Mon Sep 17 00:00:00 2001 From: leovms Date: Fri, 23 Jun 2017 13:07:08 -0400 Subject: [PATCH] Using version parameter for vsbootstrapper URL --- .../InstallServiceFabricSDKAndTools.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Artifacts/windows-ServiceFabricSDK/InstallServiceFabricSDKAndTools.ps1 b/Artifacts/windows-ServiceFabricSDK/InstallServiceFabricSDKAndTools.ps1 index 5fa8ccfc7..040753a61 100644 --- a/Artifacts/windows-ServiceFabricSDK/InstallServiceFabricSDKAndTools.ps1 +++ b/Artifacts/windows-ServiceFabricSDK/InstallServiceFabricSDKAndTools.ps1 @@ -282,7 +282,7 @@ function Enable-ServiceFabricTools ) $vsBootstrapperExe = Join-Path $env:Temp "vsbootstrap.exe" - $vsBootstrapperUrl = 'https://aka.ms/vs/15/release/vs_enterprise.exe' + $vsBootstrapperUrl = "https://aka.ms/vs/$VSVersionNumber/release/vs_enterprise.exe" Write-Host "Downloading Visual Studio bootstrapper from $vsBootstrapperUrl" try