Fix: Client Bootstrapper ignores proxy

Ignore the proxy settings when downloading the client
This commit is contained in:
Gary Sharp
2013-04-19 19:09:31 +10:00
parent 2e1f5a4226
commit 849736d42e
2 changed files with 5 additions and 2 deletions
@@ -140,6 +140,9 @@ namespace Disco.ClientBootstrapper
string clientSourceLocation = Path.Combine(tempWorkingDirectory, "PreparationClient.zip"); string clientSourceLocation = Path.Combine(tempWorkingDirectory, "PreparationClient.zip");
using (var webClient = new WebClient()) 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); webClient.DownloadFile("http://disco:9292/Services/Client/PreparationClient", clientSourceLocation);
} }
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.0411.1608")] [assembly: AssemblyVersion("1.2.0418.1759")]
[assembly: AssemblyFileVersion("1.2.0411.1608")] [assembly: AssemblyFileVersion("1.2.0418.1759")]