diff --git a/SymbolFetch.sln b/SymbolFetch.sln index 555973d..64ff63e 100644 --- a/SymbolFetch.sln +++ b/SymbolFetch.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 -VisualStudioVersion = 14.0.23107.0 +VisualStudioVersion = 14.0.24720.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SymbolFetch", "SymbolFetch\SymbolFetch.csproj", "{D3D57E4E-D72D-4011-99B2-C9BF5487E53C}" EndProject diff --git a/SymbolFetch/App.config b/SymbolFetch/App.config index 88fa402..f8c3458 100644 --- a/SymbolFetch/App.config +++ b/SymbolFetch/App.config @@ -1,5 +1,8 @@  + + + diff --git a/SymbolFetch/DownloadTool/PDBDownloader.exe b/SymbolFetch/DownloadTool/PDBDownloader.exe deleted file mode 100644 index 185c094..0000000 Binary files a/SymbolFetch/DownloadTool/PDBDownloader.exe and /dev/null differ diff --git a/SymbolFetch/Helpers/Constants.cs b/SymbolFetch/Helpers/Constants.cs index 6ef8024..9ce070a 100644 --- a/SymbolFetch/Helpers/Constants.cs +++ b/SymbolFetch/Helpers/Constants.cs @@ -16,7 +16,7 @@ static Constants() { SymbolServer = @"Microsoft-Symbol-Server/10.0.10522.521"; DownloadFolder = @"c:\symbols"; - EnableBulkDownload = true; + EnableBulkDownload = false; } #endregion diff --git a/SymbolFetch/MainWindow.xaml.cs b/SymbolFetch/MainWindow.xaml.cs index 24dd9c2..570a3e3 100644 --- a/SymbolFetch/MainWindow.xaml.cs +++ b/SymbolFetch/MainWindow.xaml.cs @@ -82,7 +82,6 @@ private void Downloader_FileDownloadSucceeded(object sender, EventArgs e) private void btnStart_Click(object sender, RoutedEventArgs e) { - var builder = new UrlBuilder(); downloader.LocalDirectory = downloader.DownloadLocation; downloader.Files.Clear(); diff --git a/SymbolFetch/PeHeaderReader.cs b/SymbolFetch/PeHeaderReader.cs index e8f1551..ab8e30a 100644 --- a/SymbolFetch/PeHeaderReader.cs +++ b/SymbolFetch/PeHeaderReader.cs @@ -432,8 +432,9 @@ public bool Is32BitHeader { get { - UInt16 IMAGE_FILE_32BIT_MACHINE = 0x0100; - return (IMAGE_FILE_32BIT_MACHINE & FileHeader.Characteristics) == IMAGE_FILE_32BIT_MACHINE; + //UInt16 IMAGE_FILE_32BIT_MACHINE = 0x0100; + //return (IMAGE_FILE_32BIT_MACHINE & FileHeader.Characteristics) == IMAGE_FILE_32BIT_MACHINE; + return (FileHeader.Machine == 332) ? true : false; //14C = X86 } } diff --git a/SymbolFetch/Properties/AssemblyInfo.cs b/SymbolFetch/Properties/AssemblyInfo.cs index 0c5a503..ceeb6b6 100644 --- a/SymbolFetch/Properties/AssemblyInfo.cs +++ b/SymbolFetch/Properties/AssemblyInfo.cs @@ -7,12 +7,12 @@ // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("SymbolFetch")] +[assembly: AssemblyTitle("PDB Downloader")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("SymbolFetch")] -[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyCopyright("Copyright © 2016")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/SymbolFetch/SymbolFetch.csproj b/SymbolFetch/SymbolFetch.csproj index f179474..73c2a82 100644 --- a/SymbolFetch/SymbolFetch.csproj +++ b/SymbolFetch/SymbolFetch.csproj @@ -15,7 +15,7 @@ 4 true false - publish\ + C:\temp\PDB\ true Disk false @@ -25,9 +25,11 @@ false false true - 0 + true + 1 1.0.0.%2a false + true true @@ -61,6 +63,37 @@ false + + F7996280624A7FF6C596CAED869AF819D2D68E26 + + + SymbolFetch_TemporaryKey.pfx + + + false + + + true + bin\x64\Debug\ + DEBUG;TRACE + full + x64 + prompt + MinimumRecommendedRules.ruleset + + + bin\x64\Release\ + TRACE + true + pdbonly + x64 + prompt + MinimumRecommendedRules.ruleset + + + LocalIntranet + +