Skip to content

Commit 506e5cd

Browse files
committed
Convert project definitions from AnyCPU to x64.
It was compiling in x64 mode anyway, but having a mismatch between that and the project configuration mode was causing problems for the IDE designer.
1 parent 1620a15 commit 506e5cd

File tree

7 files changed

+43
-43
lines changed

7 files changed

+43
-43
lines changed

PhotoCull/PhotoCull.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
44
<PropertyGroup>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
77
<ProjectGuid>{987FB840-505E-4388-9590-413207A9345F}</ProjectGuid>
88
<OutputType>WinExe</OutputType>
99
<RootNamespace>PhotoCull</RootNamespace>
@@ -15,7 +15,7 @@
1515
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1616
<TargetFrameworkProfile />
1717
</PropertyGroup>
18-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
1919
<PlatformTarget>x64</PlatformTarget>
2020
<DebugSymbols>true</DebugSymbols>
2121
<DebugType>full</DebugType>
@@ -26,7 +26,7 @@
2626
<WarningLevel>4</WarningLevel>
2727
<Prefer32Bit>false</Prefer32Bit>
2828
</PropertyGroup>
29-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
29+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
3030
<PlatformTarget>x64</PlatformTarget>
3131
<DebugType>pdbonly</DebugType>
3232
<Optimize>true</Optimize>
@@ -101,4 +101,4 @@
101101
</ProjectReference>
102102
</ItemGroup>
103103
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
104-
</Project>
104+
</Project>

PhotoTagger.Imaging/PhotoTagger.Imaging.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
44
<PropertyGroup>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
77
<ProjectGuid>{2CF46AE4-1F15-4470-8ABE-1BBDD7EE42B3}</ProjectGuid>
88
<OutputType>Library</OutputType>
99
<AppDesignerFolder>Properties</AppDesignerFolder>
@@ -13,7 +13,7 @@
1313
<FileAlignment>512</FileAlignment>
1414
<TargetFrameworkProfile />
1515
</PropertyGroup>
16-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
1717
<DebugSymbols>true</DebugSymbols>
1818
<DebugType>full</DebugType>
1919
<Optimize>false</Optimize>
@@ -25,7 +25,7 @@
2525
<LangVersion>7.1</LangVersion>
2626
<PlatformTarget>x64</PlatformTarget>
2727
</PropertyGroup>
28-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
2929
<DebugType>pdbonly</DebugType>
3030
<Optimize>true</Optimize>
3131
<OutputPath>bin\Release\</OutputPath>
@@ -55,4 +55,4 @@
5555
<Compile Include="UnsafeMemoryStream.cs" />
5656
</ItemGroup>
5757
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
58-
</Project>
58+
</Project>

PhotoTagger.Wpf/PhotoTagger.Wpf.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
44
<PropertyGroup>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
77
<ProjectGuid>{4C7B56C1-3F49-44F2-BCF4-C8F823E858D8}</ProjectGuid>
88
<OutputType>library</OutputType>
99
<RootNamespace>PhotoTagger.Wpf</RootNamespace>
@@ -14,7 +14,7 @@
1414
<WarningLevel>4</WarningLevel>
1515
<TargetFrameworkProfile />
1616
</PropertyGroup>
17-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
1818
<DebugSymbols>true</DebugSymbols>
1919
<DebugType>full</DebugType>
2020
<Optimize>false</Optimize>
@@ -24,7 +24,7 @@
2424
<WarningLevel>4</WarningLevel>
2525
<PlatformTarget>x64</PlatformTarget>
2626
</PropertyGroup>
27-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
2828
<DebugType>pdbonly</DebugType>
2929
<Optimize>true</Optimize>
3030
<OutputPath>bin\Release\</OutputPath>
@@ -99,4 +99,4 @@
9999
</Page>
100100
</ItemGroup>
101101
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
102-
</Project>
102+
</Project>

PhotoTagger.sln

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,30 +20,30 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PhotoCull", "PhotoCull\Phot
2020
EndProject
2121
Global
2222
GlobalSection(SolutionConfigurationPlatforms) = preSolution
23-
Debug|Any CPU = Debug|Any CPU
24-
Release|Any CPU = Release|Any CPU
23+
Debug|x64 = Debug|x64
24+
Release|x64 = Release|x64
2525
EndGlobalSection
2626
GlobalSection(ProjectConfigurationPlatforms) = postSolution
27-
{1D77E5DB-4B88-427B-956C-2F325E0B6164}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
28-
{1D77E5DB-4B88-427B-956C-2F325E0B6164}.Debug|Any CPU.Build.0 = Debug|Any CPU
29-
{1D77E5DB-4B88-427B-956C-2F325E0B6164}.Release|Any CPU.ActiveCfg = Release|Any CPU
30-
{1D77E5DB-4B88-427B-956C-2F325E0B6164}.Release|Any CPU.Build.0 = Release|Any CPU
31-
{1DE57892-E66E-4D40-921C-9A7D12194CA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
32-
{1DE57892-E66E-4D40-921C-9A7D12194CA4}.Debug|Any CPU.Build.0 = Debug|Any CPU
33-
{1DE57892-E66E-4D40-921C-9A7D12194CA4}.Release|Any CPU.ActiveCfg = Release|Any CPU
34-
{1DE57892-E66E-4D40-921C-9A7D12194CA4}.Release|Any CPU.Build.0 = Release|Any CPU
35-
{2CF46AE4-1F15-4470-8ABE-1BBDD7EE42B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
36-
{2CF46AE4-1F15-4470-8ABE-1BBDD7EE42B3}.Debug|Any CPU.Build.0 = Debug|Any CPU
37-
{2CF46AE4-1F15-4470-8ABE-1BBDD7EE42B3}.Release|Any CPU.ActiveCfg = Release|Any CPU
38-
{2CF46AE4-1F15-4470-8ABE-1BBDD7EE42B3}.Release|Any CPU.Build.0 = Release|Any CPU
39-
{4C7B56C1-3F49-44F2-BCF4-C8F823E858D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
40-
{4C7B56C1-3F49-44F2-BCF4-C8F823E858D8}.Debug|Any CPU.Build.0 = Debug|Any CPU
41-
{4C7B56C1-3F49-44F2-BCF4-C8F823E858D8}.Release|Any CPU.ActiveCfg = Release|Any CPU
42-
{4C7B56C1-3F49-44F2-BCF4-C8F823E858D8}.Release|Any CPU.Build.0 = Release|Any CPU
43-
{987FB840-505E-4388-9590-413207A9345F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
44-
{987FB840-505E-4388-9590-413207A9345F}.Debug|Any CPU.Build.0 = Debug|Any CPU
45-
{987FB840-505E-4388-9590-413207A9345F}.Release|Any CPU.ActiveCfg = Release|Any CPU
46-
{987FB840-505E-4388-9590-413207A9345F}.Release|Any CPU.Build.0 = Release|Any CPU
27+
{1D77E5DB-4B88-427B-956C-2F325E0B6164}.Debug|x64.ActiveCfg = Debug|x64
28+
{1D77E5DB-4B88-427B-956C-2F325E0B6164}.Debug|x64.Build.0 = Debug|x64
29+
{1D77E5DB-4B88-427B-956C-2F325E0B6164}.Release|x64.ActiveCfg = Release|x64
30+
{1D77E5DB-4B88-427B-956C-2F325E0B6164}.Release|x64.Build.0 = Release|x64
31+
{1DE57892-E66E-4D40-921C-9A7D12194CA4}.Debug|x64.ActiveCfg = Debug|x64
32+
{1DE57892-E66E-4D40-921C-9A7D12194CA4}.Debug|x64.Build.0 = Debug|x64
33+
{1DE57892-E66E-4D40-921C-9A7D12194CA4}.Release|x64.ActiveCfg = Release|x64
34+
{1DE57892-E66E-4D40-921C-9A7D12194CA4}.Release|x64.Build.0 = Release|x64
35+
{2CF46AE4-1F15-4470-8ABE-1BBDD7EE42B3}.Debug|x64.ActiveCfg = Debug|x64
36+
{2CF46AE4-1F15-4470-8ABE-1BBDD7EE42B3}.Debug|x64.Build.0 = Debug|x64
37+
{2CF46AE4-1F15-4470-8ABE-1BBDD7EE42B3}.Release|x64.ActiveCfg = Release|x64
38+
{2CF46AE4-1F15-4470-8ABE-1BBDD7EE42B3}.Release|x64.Build.0 = Release|x64
39+
{4C7B56C1-3F49-44F2-BCF4-C8F823E858D8}.Debug|x64.ActiveCfg = Debug|x64
40+
{4C7B56C1-3F49-44F2-BCF4-C8F823E858D8}.Debug|x64.Build.0 = Debug|x64
41+
{4C7B56C1-3F49-44F2-BCF4-C8F823E858D8}.Release|x64.ActiveCfg = Release|x64
42+
{4C7B56C1-3F49-44F2-BCF4-C8F823E858D8}.Release|x64.Build.0 = Release|x64
43+
{987FB840-505E-4388-9590-413207A9345F}.Debug|x64.ActiveCfg = Debug|x64
44+
{987FB840-505E-4388-9590-413207A9345F}.Debug|x64.Build.0 = Debug|x64
45+
{987FB840-505E-4388-9590-413207A9345F}.Release|x64.ActiveCfg = Release|x64
46+
{987FB840-505E-4388-9590-413207A9345F}.Release|x64.Build.0 = Release|x64
4747
EndGlobalSection
4848
GlobalSection(SolutionProperties) = preSolution
4949
HideSolutionNode = FALSE

PhotoTagger/PhotoTagger.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
44
<PropertyGroup>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
77
<ProjectGuid>{1D77E5DB-4B88-427B-956C-2F325E0B6164}</ProjectGuid>
88
<OutputType>WinExe</OutputType>
99
<RootNamespace>PhotoTagger</RootNamespace>
@@ -30,7 +30,7 @@
3030
<BootstrapperEnabled>true</BootstrapperEnabled>
3131
<TargetFrameworkProfile />
3232
</PropertyGroup>
33-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
33+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
3434
<PlatformTarget>x64</PlatformTarget>
3535
<DebugSymbols>true</DebugSymbols>
3636
<DebugType>full</DebugType>
@@ -43,7 +43,7 @@
4343
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
4444
<LangVersion>latest</LangVersion>
4545
</PropertyGroup>
46-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
46+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
4747
<PlatformTarget>x64</PlatformTarget>
4848
<DebugType>pdbonly</DebugType>
4949
<Optimize>true</Optimize>
@@ -159,4 +159,4 @@
159159
</ProjectReference>
160160
</ItemGroup>
161161
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
162-
</Project>
162+
</Project>

PhotoTaggerTests/PhotoTaggerTests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Import Project="..\packages\MSTest.TestAdapter.1.1.18\build\net45\MSTest.TestAdapter.props" Condition="Exists('..\packages\MSTest.TestAdapter.1.1.18\build\net45\MSTest.TestAdapter.props')" />
44
<PropertyGroup>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
77
<ProjectGuid>{1DE57892-E66E-4D40-921C-9A7D12194CA4}</ProjectGuid>
88
<OutputType>Library</OutputType>
99
<AppDesignerFolder>Properties</AppDesignerFolder>
@@ -21,7 +21,7 @@
2121
<NuGetPackageImportStamp>
2222
</NuGetPackageImportStamp>
2323
</PropertyGroup>
24-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
24+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
2525
<DebugSymbols>true</DebugSymbols>
2626
<DebugType>full</DebugType>
2727
<Optimize>false</Optimize>
@@ -32,7 +32,7 @@
3232
<LangVersion>latest</LangVersion>
3333
<PlatformTarget>x64</PlatformTarget>
3434
</PropertyGroup>
35-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
35+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
3636
<DebugType>pdbonly</DebugType>
3737
<Optimize>true</Optimize>
3838
<OutputPath>bin\Release\</OutputPath>
@@ -107,4 +107,4 @@
107107
<Target Name="AfterBuild">
108108
</Target>
109109
-->
110-
</Project>
110+
</Project>

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 0.0.{build}
33
build:
44
verbosity: minimal
55
platform:
6-
- Any CPU
6+
- x64
77
configuration:
88
- Release
99
before_build:

0 commit comments

Comments
 (0)