Explorar o código

Merge branch 'develop'

drieseng %!s(int64=4) %!d(string=hai) anos
pai
achega
2c99132396
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      build/build.proj

+ 4 - 0
build/build.proj

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