|
5 | 5 | using System.Collections.Generic; |
6 | 6 | using System.IO; |
7 | 7 | using System.Linq; |
| 8 | +using System.Net; |
| 9 | +using System.Net.Http; |
8 | 10 | using System.Net.Http.Headers; |
9 | 11 | using System.Runtime.InteropServices; |
10 | 12 | using System.Threading; |
@@ -68,7 +70,7 @@ public static void Main(string[] args) |
68 | 70 | program.SymbolServers.Add(new ServerInfo { Uri = uri, PersonalAccessToken = null }); |
69 | 71 | break; |
70 | 72 |
|
71 | | - case "--internal-server": |
| 73 | + case "--internal-server": |
72 | 74 | Uri.TryCreate("https://symweb.azurefd.net/", UriKind.Absolute, out uri); |
73 | 75 | program.SymbolServers.Add(new ServerInfo { Uri = uri, PersonalAccessToken = null, InternalSymwebServer = true }); |
74 | 76 | break; |
@@ -263,7 +265,7 @@ internal async Task DownloadFiles() |
263 | 265 | private Microsoft.SymbolStore.SymbolStores.SymbolStore BuildSymbolStore() |
264 | 266 | { |
265 | 267 | Microsoft.SymbolStore.SymbolStores.SymbolStore store = null; |
266 | | - |
| 268 | + HttpClient.DefaultProxy.Credentials = CredentialCache.DefaultCredentials; |
267 | 269 | foreach (ServerInfo server in ((IEnumerable<ServerInfo>)SymbolServers).Reverse()) |
268 | 270 | { |
269 | 271 | if (server.InternalSymwebServer) |
@@ -597,8 +599,7 @@ internal void VerifyCoreDump() |
597 | 599 |
|
598 | 600 | private IEnumerable<string> GetInputFiles() |
599 | 601 | { |
600 | | - IEnumerable<string> inputFiles = InputFilePaths.SelectMany((string file) => |
601 | | - { |
| 602 | + IEnumerable<string> inputFiles = InputFilePaths.SelectMany((string file) => { |
602 | 603 | string directory = Path.GetDirectoryName(file); |
603 | 604 | string pattern = Path.GetFileName(file); |
604 | 605 | return Directory.EnumerateFiles(string.IsNullOrWhiteSpace(directory) ? "." : directory, pattern, |
|
0 commit comments