We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 853ec99 + 68a47f6 commit 2c99132Copy full SHA for 2c99132
build/build.proj
@@ -222,6 +222,10 @@
222
<Reference Include="System" />
223
<Code Type="Fragment" Language="cs">
224
<![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
229
new System.Net.WebClient().DownloadFile(Address, FileName);
230
]]>
231
</Code>
0 commit comments