Skip to content

Commit 1620a15

Browse files
committed
Use x64 CPU architecture.
The tools are not very useful in 32-bit mode, given the size of most images. This allows producing better-optimized code.
1 parent 8ff8a03 commit 1620a15

File tree

5 files changed

+14
-6
lines changed

5 files changed

+14
-6
lines changed

PhotoCull/PhotoCull.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,25 @@
1616
<TargetFrameworkProfile />
1717
</PropertyGroup>
1818
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
19-
<PlatformTarget>AnyCPU</PlatformTarget>
19+
<PlatformTarget>x64</PlatformTarget>
2020
<DebugSymbols>true</DebugSymbols>
2121
<DebugType>full</DebugType>
2222
<Optimize>false</Optimize>
2323
<OutputPath>bin\Debug\</OutputPath>
2424
<DefineConstants>DEBUG;TRACE</DefineConstants>
2525
<ErrorReport>prompt</ErrorReport>
2626
<WarningLevel>4</WarningLevel>
27+
<Prefer32Bit>false</Prefer32Bit>
2728
</PropertyGroup>
2829
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
29-
<PlatformTarget>AnyCPU</PlatformTarget>
30+
<PlatformTarget>x64</PlatformTarget>
3031
<DebugType>pdbonly</DebugType>
3132
<Optimize>true</Optimize>
3233
<OutputPath>bin\Release\</OutputPath>
3334
<DefineConstants>TRACE</DefineConstants>
3435
<ErrorReport>prompt</ErrorReport>
3536
<WarningLevel>4</WarningLevel>
37+
<Prefer32Bit>false</Prefer32Bit>
3638
</PropertyGroup>
3739
<ItemGroup>
3840
<Reference Include="System" />

PhotoTagger.Imaging/PhotoTagger.Imaging.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<WarningLevel>4</WarningLevel>
2424
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
2525
<LangVersion>7.1</LangVersion>
26+
<PlatformTarget>x64</PlatformTarget>
2627
</PropertyGroup>
2728
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2829
<DebugType>pdbonly</DebugType>
@@ -33,6 +34,7 @@
3334
<WarningLevel>4</WarningLevel>
3435
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
3536
<LangVersion>7.1</LangVersion>
37+
<PlatformTarget>x64</PlatformTarget>
3638
</PropertyGroup>
3739
<ItemGroup>
3840
<Reference Include="PresentationCore" />

PhotoTagger.Wpf/PhotoTagger.Wpf.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<DefineConstants>DEBUG;TRACE</DefineConstants>
2323
<ErrorReport>prompt</ErrorReport>
2424
<WarningLevel>4</WarningLevel>
25+
<PlatformTarget>x64</PlatformTarget>
2526
</PropertyGroup>
2627
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2728
<DebugType>pdbonly</DebugType>
@@ -30,6 +31,7 @@
3031
<DefineConstants>TRACE</DefineConstants>
3132
<ErrorReport>prompt</ErrorReport>
3233
<WarningLevel>4</WarningLevel>
34+
<PlatformTarget>x64</PlatformTarget>
3335
</PropertyGroup>
3436
<ItemGroup>
3537
<Reference Include="System" />

PhotoTagger/PhotoTagger.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<TargetFrameworkProfile />
3232
</PropertyGroup>
3333
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
34-
<PlatformTarget>AnyCPU</PlatformTarget>
34+
<PlatformTarget>x64</PlatformTarget>
3535
<DebugSymbols>true</DebugSymbols>
3636
<DebugType>full</DebugType>
3737
<Optimize>false</Optimize>
@@ -40,19 +40,19 @@
4040
<ErrorReport>prompt</ErrorReport>
4141
<WarningLevel>4</WarningLevel>
4242
<Prefer32Bit>false</Prefer32Bit>
43-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
43+
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
4444
<LangVersion>latest</LangVersion>
4545
</PropertyGroup>
4646
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
47-
<PlatformTarget>AnyCPU</PlatformTarget>
47+
<PlatformTarget>x64</PlatformTarget>
4848
<DebugType>pdbonly</DebugType>
4949
<Optimize>true</Optimize>
5050
<OutputPath>bin\Release\</OutputPath>
5151
<DefineConstants>TRACE</DefineConstants>
5252
<ErrorReport>prompt</ErrorReport>
5353
<WarningLevel>4</WarningLevel>
5454
<Prefer32Bit>false</Prefer32Bit>
55-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
55+
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
5656
<LangVersion>latest</LangVersion>
5757
</PropertyGroup>
5858
<ItemGroup>

PhotoTaggerTests/PhotoTaggerTests.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<ErrorReport>prompt</ErrorReport>
3131
<WarningLevel>4</WarningLevel>
3232
<LangVersion>latest</LangVersion>
33+
<PlatformTarget>x64</PlatformTarget>
3334
</PropertyGroup>
3435
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
3536
<DebugType>pdbonly</DebugType>
@@ -39,6 +40,7 @@
3940
<ErrorReport>prompt</ErrorReport>
4041
<WarningLevel>4</WarningLevel>
4142
<LangVersion>latest</LangVersion>
43+
<PlatformTarget>x64</PlatformTarget>
4244
</PropertyGroup>
4345
<ItemGroup>
4446
<Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">

0 commit comments

Comments
 (0)