Skip to content

Commit c686112

Browse files
committed
PR feedback: organize usings, and remove AnyCPU
1 parent 0279130 commit c686112

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

Samples/Islands/WpfCalculator/CalculatorDemo/CalculatorDemo.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</PropertyGroup>
1717
<PropertyGroup>
1818
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
19-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
19+
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
2020
<ProjectGuid>{5731865D-6685-47A7-8877-5DBAF39B54CD}</ProjectGuid>
2121
<OutputType>WinExe</OutputType>
2222
<AppDesignerFolder>Properties</AppDesignerFolder>
@@ -27,7 +27,7 @@
2727
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
2828
</PropertyGroup>
2929
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
30-
<PlatformTarget>AnyCPU</PlatformTarget>
30+
<PlatformTarget>x86</PlatformTarget>
3131
<DebugSymbols>true</DebugSymbols>
3232
<DebugType>portable</DebugType>
3333
<Optimize>false</Optimize>
@@ -37,7 +37,7 @@
3737
<WarningLevel>4</WarningLevel>
3838
</PropertyGroup>
3939
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
40-
<PlatformTarget>AnyCPU</PlatformTarget>
40+
<PlatformTarget>ARM64</PlatformTarget>
4141
<DebugSymbols>true</DebugSymbols>
4242
<DebugType>portable</DebugType>
4343
<Optimize>false</Optimize>
@@ -47,7 +47,7 @@
4747
<WarningLevel>4</WarningLevel>
4848
</PropertyGroup>
4949
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
50-
<PlatformTarget>AnyCPU</PlatformTarget>
50+
<PlatformTarget>x64</PlatformTarget>
5151
<DebugSymbols>true</DebugSymbols>
5252
<DebugType>portable</DebugType>
5353
<Optimize>false</Optimize>
@@ -57,7 +57,7 @@
5757
<WarningLevel>4</WarningLevel>
5858
</PropertyGroup>
5959
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
60-
<PlatformTarget>AnyCPU</PlatformTarget>
60+
<PlatformTarget>x86</PlatformTarget>
6161
<DebugType>pdbonly</DebugType>
6262
<Optimize>true</Optimize>
6363
<OutputPath>bin\Release\</OutputPath>
@@ -66,7 +66,7 @@
6666
<WarningLevel>4</WarningLevel>
6767
</PropertyGroup>
6868
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
69-
<PlatformTarget>AnyCPU</PlatformTarget>
69+
<PlatformTarget>ARM64</PlatformTarget>
7070
<DebugType>pdbonly</DebugType>
7171
<Optimize>true</Optimize>
7272
<OutputPath>bin\Release\</OutputPath>
@@ -75,7 +75,7 @@
7575
<WarningLevel>4</WarningLevel>
7676
</PropertyGroup>
7777
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
78-
<PlatformTarget>AnyCPU</PlatformTarget>
78+
<PlatformTarget>x64</PlatformTarget>
7979
<DebugType>pdbonly</DebugType>
8080
<Optimize>true</Optimize>
8181
<OutputPath>bin\Release\</OutputPath>

Samples/Islands/WpfCalculator/CalculatorDemo/MainWindow.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
// // Copyright (c) Microsoft. All rights reserved.
22
// // Licensed under the MIT license. See LICENSE file in the project root for full license information.
33

4-
#if false // Demo3_Step2_AddCompact
5-
using Microsoft.UI;
6-
using Microsoft.UI.Windowing;
7-
#endif
84
using System;
95
using System.Globalization;
106
using System.Windows;
117
using System.Windows.Controls;
128
using System.Windows.Input;
139
using System.Windows.Interop;
1410
using Windows.ApplicationModel.Contacts;
11+
#if false // Demo3_Step2_AddCompact
12+
using Microsoft.UI;
13+
using Microsoft.UI.Windowing;
14+
#endif
1515

1616
namespace CalculatorDemo
1717
{

0 commit comments

Comments
 (0)