Skip to content

Commit 2c99132

Browse files
committed
Merge branch 'develop'
2 parents 853ec99 + 68a47f6 commit 2c99132

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build/build.proj

+4
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,10 @@
222222
<Reference Include="System" />
223223
<Code Type="Fragment" Language="cs">
224224
<![CDATA[
225+
// Workaround 'Could not create SSL/TLS secure channel' issue due to TLS 1.1 being
226+
// the default on earlier versions of .NET
227+
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
228+
// Download file
225229
new System.Net.WebClient().DownloadFile(Address, FileName);
226230
]]>
227231
</Code>

0 commit comments

Comments
 (0)