diff options
author | dotnet-bot <dotnet-bot@microsoft.com> | 2015-02-17 00:09:17 +0300 |
---|---|---|
committer | dotnet-bot <dotnet-bot@microsoft.com> | 2015-02-17 00:09:17 +0300 |
commit | 19c0f3c5736c7dc9f8d5fcb63654147b60b39e9e (patch) | |
tree | 03e2bbc5fde3d8152b4a7d05b7ebc95391049ee3 /dir.targets | |
parent | 19626f28b0fc64acaa5e7db2e5144839bf286446 (diff) |
Fix the DownloadFile inline code task so it doesn't set the DefaultWebProxy because in some cases it is null and I've not found a reason when it is actually ever needed.
Also update our internal targets so they now download Nuget.exe again instead of using a checked in version.
[tfs-changeset: 1416207]
Diffstat (limited to 'dir.targets')
-rw-r--r-- | dir.targets | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/dir.targets b/dir.targets index efbd426d22..1e3700e7a7 100644 --- a/dir.targets +++ b/dir.targets @@ -17,8 +17,6 @@ var tempFile = Path.Combine(directory, Path.GetRandomFileName()); var client = new System.Net.WebClient(); - client.Proxy = System.Net.WebRequest.DefaultWebProxy; - client.Proxy.Credentials = System.Net.CredentialCache.DefaultCredentials; client.DownloadFile(Address, tempFile); try |