diff --git a/build/Versions.props b/build/Versions.props
index 71a9a4d2..9478c24f 100644
--- a/build/Versions.props
+++ b/build/Versions.props
@@ -5,16 +5,16 @@
true
-
+
1.0.0-beta-62705-01
- 2.3.2
+ 2.3.7
15.3.409
15.3.409
15.3.409
-
+
1.1.0
1.0.1
diff --git a/build/build.ps1 b/build/build.ps1
index 5e37f895..b534d5bf 100644
--- a/build/build.ps1
+++ b/build/build.ps1
@@ -19,6 +19,7 @@ Param(
[Parameter(ValueFromRemainingArguments=$true)][String[]]$properties
)
+[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
set-strictmode -version 2.0
$ErrorActionPreference = "Stop"
@@ -74,22 +75,22 @@ function GetVSWhereVersion {
return $xml.Project.PropertyGroup.VSWhereVersion
}
-function LocateVisualStudio {
+function LocateVisualStudio {
$vswhereVersion = GetVSWhereVersion
$vsWhereDir = Join-Path $ToolsRoot "vswhere\$vswhereVersion"
$vsWhereExe = Join-Path $vsWhereDir "vswhere.exe"
-
+
if (!(Test-Path $vsWhereExe)) {
- Create-Directory $vsWhereDir
+ Create-Directory $vsWhereDir
Invoke-WebRequest "http://github.com/Microsoft/vswhere/releases/download/$vswhereVersion/vswhere.exe" -OutFile $vswhereExe
}
-
- $vsInstallDir = & $vsWhereExe -latest -property installationPath -requires Microsoft.Component.MSBuild -requires Microsoft.VisualStudio.Component.VSSDK -requires Microsoft.Net.Component.4.6.TargetingPack -requires Microsoft.VisualStudio.Component.Roslyn.Compiler -requires Microsoft.VisualStudio.Component.VSSDK
-
+
+ $vsInstallDir = & $vsWhereExe -latest -prerelease -property installationPath -requires Microsoft.Component.MSBuild -requires Microsoft.VisualStudio.Component.VSSDK -requires Microsoft.Net.Component.4.6.TargetingPack -requires Microsoft.VisualStudio.Component.Roslyn.Compiler -requires Microsoft.VisualStudio.Component.VSSDK
+
if (!(Test-Path $vsInstallDir)) {
throw "Failed to locate Visual Studio (exit code '$lastExitCode')."
}
-
+
return $vsInstallDir
}
@@ -155,4 +156,4 @@ finally {
if ($ci -and $prepareMachine) {
Stop-Processes
}
-}
\ No newline at end of file
+}