From 749be375a95360350af6c61a56d5465fbb707205 Mon Sep 17 00:00:00 2001 From: Shawn Presser Date: Thu, 21 Jun 2018 20:59:27 -0500 Subject: [PATCH] Fix DownloadFile for TLS connections --- build.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.ps1 b/build.ps1 index 03982b44..524ac87f 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,6 +5,9 @@ Param( [string]$Task ) +# https://stackoverflow.com/a/41618979/9919772 +[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 + $solution = "vgmstream_full.sln" $vswhere = "dependencies/vswhere.exe" $config = "/p:Configuration=Release"