Skip to content
This repository was archived by the owner on May 29, 2020. It is now read-only.

Commit d349597

Browse files
Fixed architecture bug with libraries
1 parent 8abbad0 commit d349597

File tree

8 files changed

+45
-9
lines changed

8 files changed

+45
-9
lines changed

SymbolFetch.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 14
4-
VisualStudioVersion = 14.0.23107.0
4+
VisualStudioVersion = 14.0.24720.0
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SymbolFetch", "SymbolFetch\SymbolFetch.csproj", "{D3D57E4E-D72D-4011-99B2-C9BF5487E53C}"
77
EndProject

SymbolFetch/App.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<configuration>
3+
<appSettings>
4+
<add key="SymbolServer" value="http://msdl.microsoft.com/download/symbols"/>
5+
</appSettings>
36
<startup>
47
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
58
</startup>
-113 KB
Binary file not shown.

SymbolFetch/Helpers/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ static Constants()
1616
{
1717
SymbolServer = @"Microsoft-Symbol-Server/10.0.10522.521";
1818
DownloadFolder = @"c:\symbols";
19-
EnableBulkDownload = true;
19+
EnableBulkDownload = false;
2020
}
2121

2222
#endregion

SymbolFetch/MainWindow.xaml.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ private void Downloader_FileDownloadSucceeded(object sender, EventArgs e)
8282

8383
private void btnStart_Click(object sender, RoutedEventArgs e)
8484
{
85-
8685
var builder = new UrlBuilder();
8786
downloader.LocalDirectory = downloader.DownloadLocation;
8887
downloader.Files.Clear();

SymbolFetch/PeHeaderReader.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,9 @@ public bool Is32BitHeader
432432
{
433433
get
434434
{
435-
UInt16 IMAGE_FILE_32BIT_MACHINE = 0x0100;
436-
return (IMAGE_FILE_32BIT_MACHINE & FileHeader.Characteristics) == IMAGE_FILE_32BIT_MACHINE;
435+
//UInt16 IMAGE_FILE_32BIT_MACHINE = 0x0100;
436+
//return (IMAGE_FILE_32BIT_MACHINE & FileHeader.Characteristics) == IMAGE_FILE_32BIT_MACHINE;
437+
return (FileHeader.Machine == 332) ? true : false; //14C = X86
437438
}
438439
}
439440

SymbolFetch/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
// General Information about an assembly is controlled through the following
88
// set of attributes. Change these attribute values to modify the information
99
// associated with an assembly.
10-
[assembly: AssemblyTitle("SymbolFetch")]
10+
[assembly: AssemblyTitle("PDB Downloader")]
1111
[assembly: AssemblyDescription("")]
1212
[assembly: AssemblyConfiguration("")]
1313
[assembly: AssemblyCompany("")]
1414
[assembly: AssemblyProduct("SymbolFetch")]
15-
[assembly: AssemblyCopyright("Copyright © 2015")]
15+
[assembly: AssemblyCopyright("Copyright © 2016")]
1616
[assembly: AssemblyTrademark("")]
1717
[assembly: AssemblyCulture("")]
1818

SymbolFetch/SymbolFetch.csproj

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<WarningLevel>4</WarningLevel>
1616
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1717
<IsWebBootstrapper>false</IsWebBootstrapper>
18-
<PublishUrl>publish\</PublishUrl>
18+
<PublishUrl>C:\temp\PDB\</PublishUrl>
1919
<Install>true</Install>
2020
<InstallFrom>Disk</InstallFrom>
2121
<UpdateEnabled>false</UpdateEnabled>
@@ -25,9 +25,11 @@
2525
<UpdatePeriodically>false</UpdatePeriodically>
2626
<UpdateRequired>false</UpdateRequired>
2727
<MapFileExtensions>true</MapFileExtensions>
28-
<ApplicationRevision>0</ApplicationRevision>
28+
<AutorunEnabled>true</AutorunEnabled>
29+
<ApplicationRevision>1</ApplicationRevision>
2930
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
3031
<UseApplicationTrust>false</UseApplicationTrust>
32+
<PublishWizardCompleted>true</PublishWizardCompleted>
3133
<BootstrapperEnabled>true</BootstrapperEnabled>
3234
</PropertyGroup>
3335
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
@@ -61,6 +63,37 @@
6163
<PropertyGroup>
6264
<SignManifests>false</SignManifests>
6365
</PropertyGroup>
66+
<PropertyGroup>
67+
<ManifestCertificateThumbprint>F7996280624A7FF6C596CAED869AF819D2D68E26</ManifestCertificateThumbprint>
68+
</PropertyGroup>
69+
<PropertyGroup>
70+
<ManifestKeyFile>SymbolFetch_TemporaryKey.pfx</ManifestKeyFile>
71+
</PropertyGroup>
72+
<PropertyGroup>
73+
<GenerateManifests>false</GenerateManifests>
74+
</PropertyGroup>
75+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
76+
<DebugSymbols>true</DebugSymbols>
77+
<OutputPath>bin\x64\Debug\</OutputPath>
78+
<DefineConstants>DEBUG;TRACE</DefineConstants>
79+
<DebugType>full</DebugType>
80+
<PlatformTarget>x64</PlatformTarget>
81+
<ErrorReport>prompt</ErrorReport>
82+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
83+
</PropertyGroup>
84+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
85+
<OutputPath>bin\x64\Release\</OutputPath>
86+
<DefineConstants>TRACE</DefineConstants>
87+
<Optimize>true</Optimize>
88+
<DebugType>pdbonly</DebugType>
89+
<PlatformTarget>x64</PlatformTarget>
90+
<ErrorReport>prompt</ErrorReport>
91+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
92+
</PropertyGroup>
93+
<PropertyGroup>
94+
<TargetZone>LocalIntranet</TargetZone>
95+
</PropertyGroup>
96+
<PropertyGroup />
6497
<ItemGroup>
6598
<Reference Include="System" />
6699
<Reference Include="System.configuration" />

0 commit comments

Comments
 (0)