[commit] r2782 - trunk/SDK/DotNet/DsmlGenerator/.nuget

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Tue Apr 7 10:44:23 CDT 2020


Author: ksmyth
Date: Tue Apr  7 10:44:23 2020
New Revision: 2782

Log:
Set Tls1.2 for downloading NuGet

Modified:
   trunk/SDK/DotNet/DsmlGenerator/.nuget/NuGet.targets

Modified: trunk/SDK/DotNet/DsmlGenerator/.nuget/NuGet.targets
==============================================================================
--- trunk/SDK/DotNet/DsmlGenerator/.nuget/NuGet.targets	Tue Apr  7 10:44:20 2020	(r2781)
+++ trunk/SDK/DotNet/DsmlGenerator/.nuget/NuGet.targets	Tue Apr  7 10:44:23 2020	(r2782)
@@ -117,6 +117,7 @@
                     OutputFilename = Path.GetFullPath(OutputFilename);
 
                     Log.LogMessage("Downloading latest version of NuGet.exe...");
+                    System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
                     WebClient webClient = new WebClient();
                     webClient.DownloadFile("https://nuget.org/nuget.exe", OutputFilename);
 


More information about the gme-commit mailing list