From 849736d42e659834ffdfdd81876174ccbd7b325a Mon Sep 17 00:00:00 2001 From: Gary Sharp Date: Fri, 19 Apr 2013 19:09:31 +1000 Subject: [PATCH] Fix: Client Bootstrapper ignores proxy Ignore the proxy settings when downloading the client --- Disco.ClientBootstrapper/BootstrapperLoop.cs | 3 +++ Disco.ClientBootstrapper/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Disco.ClientBootstrapper/BootstrapperLoop.cs b/Disco.ClientBootstrapper/BootstrapperLoop.cs index 883a077f..3dec66fa 100644 --- a/Disco.ClientBootstrapper/BootstrapperLoop.cs +++ b/Disco.ClientBootstrapper/BootstrapperLoop.cs @@ -140,6 +140,9 @@ namespace Disco.ClientBootstrapper string clientSourceLocation = Path.Combine(tempWorkingDirectory, "PreparationClient.zip"); using (var webClient = new WebClient()) { + // Don't use a proxy when downloading the Client + webClient.Proxy = new WebProxy(); + webClient.DownloadFile("http://disco:9292/Services/Client/PreparationClient", clientSourceLocation); } diff --git a/Disco.ClientBootstrapper/Properties/AssemblyInfo.cs b/Disco.ClientBootstrapper/Properties/AssemblyInfo.cs index 3bd4623d..25e404e7 100644 --- a/Disco.ClientBootstrapper/Properties/AssemblyInfo.cs +++ b/Disco.ClientBootstrapper/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0411.1608")] -[assembly: AssemblyFileVersion("1.2.0411.1608")] +[assembly: AssemblyVersion("1.2.0418.1759")] +[assembly: AssemblyFileVersion("1.2.0418.1759")]