|
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + <PropertyGroup> |
| 3 | + <!-- WinAppSDK requires at least the 17763 build of windows, so we need to set that here. |
| 4 | + You can set this in the Visual Studio project properties UI too. --> |
| 5 | + <TargetFramework>net9.0-windows10.0.22621.0</TargetFramework> |
| 6 | + <UseWpf>true</UseWpf> |
| 7 | + <EnableDefaultItems>false</EnableDefaultItems> |
| 8 | + <Platforms>x64;ARM64;x86</Platforms> |
| 9 | + |
| 10 | + <!-- When adding a reference to WinAppSDK, we need to enable only the RIDs for the platforms WinAppSDK supprts. --> |
| 11 | + <RuntimeIdentifiers>win-x64;win-x86;win-arm64</RuntimeIdentifiers> |
| 12 | + |
| 13 | + <!-- These flags turn off some WinAppSDK features we won't be using. --> |
| 14 | + <UseWinUITools>false</UseWinUITools> |
| 15 | + <EnableCoreMrtTooling>false</EnableCoreMrtTooling> |
| 16 | + </PropertyGroup> |
| 17 | + <PropertyGroup> |
| 18 | + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
| 19 | + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
| 20 | + <ProjectGuid>{5731865D-6685-47A7-8877-5DBAF39B54CD}</ProjectGuid> |
| 21 | + <OutputType>WinExe</OutputType> |
| 22 | + <AppDesignerFolder>Properties</AppDesignerFolder> |
| 23 | + <RootNamespace>CalculatorDemo</RootNamespace> |
| 24 | + <AssemblyName>CalculatorDemo</AssemblyName> |
| 25 | + <FileAlignment>512</FileAlignment> |
| 26 | + <WarningLevel>4</WarningLevel> |
| 27 | + <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> |
| 28 | + </PropertyGroup> |
| 29 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'"> |
| 30 | + <PlatformTarget>AnyCPU</PlatformTarget> |
| 31 | + <DebugSymbols>true</DebugSymbols> |
| 32 | + <DebugType>portable</DebugType> |
| 33 | + <Optimize>false</Optimize> |
| 34 | + <OutputPath>bin\Debug\</OutputPath> |
| 35 | + <DefineConstants>DEBUG;TRACE</DefineConstants> |
| 36 | + <ErrorReport>prompt</ErrorReport> |
| 37 | + <WarningLevel>4</WarningLevel> |
| 38 | + </PropertyGroup> |
| 39 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'"> |
| 40 | + <PlatformTarget>AnyCPU</PlatformTarget> |
| 41 | + <DebugSymbols>true</DebugSymbols> |
| 42 | + <DebugType>portable</DebugType> |
| 43 | + <Optimize>false</Optimize> |
| 44 | + <OutputPath>bin\Debug\</OutputPath> |
| 45 | + <DefineConstants>DEBUG;TRACE</DefineConstants> |
| 46 | + <ErrorReport>prompt</ErrorReport> |
| 47 | + <WarningLevel>4</WarningLevel> |
| 48 | + </PropertyGroup> |
| 49 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
| 50 | + <PlatformTarget>AnyCPU</PlatformTarget> |
| 51 | + <DebugSymbols>true</DebugSymbols> |
| 52 | + <DebugType>portable</DebugType> |
| 53 | + <Optimize>false</Optimize> |
| 54 | + <OutputPath>bin\Debug\</OutputPath> |
| 55 | + <DefineConstants>DEBUG;TRACE</DefineConstants> |
| 56 | + <ErrorReport>prompt</ErrorReport> |
| 57 | + <WarningLevel>4</WarningLevel> |
| 58 | + </PropertyGroup> |
| 59 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'"> |
| 60 | + <PlatformTarget>AnyCPU</PlatformTarget> |
| 61 | + <DebugType>pdbonly</DebugType> |
| 62 | + <Optimize>true</Optimize> |
| 63 | + <OutputPath>bin\Release\</OutputPath> |
| 64 | + <DefineConstants>TRACE</DefineConstants> |
| 65 | + <ErrorReport>prompt</ErrorReport> |
| 66 | + <WarningLevel>4</WarningLevel> |
| 67 | + </PropertyGroup> |
| 68 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'"> |
| 69 | + <PlatformTarget>AnyCPU</PlatformTarget> |
| 70 | + <DebugType>pdbonly</DebugType> |
| 71 | + <Optimize>true</Optimize> |
| 72 | + <OutputPath>bin\Release\</OutputPath> |
| 73 | + <DefineConstants>TRACE</DefineConstants> |
| 74 | + <ErrorReport>prompt</ErrorReport> |
| 75 | + <WarningLevel>4</WarningLevel> |
| 76 | + </PropertyGroup> |
| 77 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
| 78 | + <PlatformTarget>AnyCPU</PlatformTarget> |
| 79 | + <DebugType>pdbonly</DebugType> |
| 80 | + <Optimize>true</Optimize> |
| 81 | + <OutputPath>bin\Release\</OutputPath> |
| 82 | + <DefineConstants>TRACE</DefineConstants> |
| 83 | + <ErrorReport>prompt</ErrorReport> |
| 84 | + <WarningLevel>4</WarningLevel> |
| 85 | + </PropertyGroup> |
| 86 | + <ItemGroup> |
| 87 | + <ApplicationDefinition Include="App.xaml"> |
| 88 | + <Generator>MSBuild:Compile</Generator> |
| 89 | + <SubType>Designer</SubType> |
| 90 | + </ApplicationDefinition> |
| 91 | + <Page Include="MainWindow.xaml"> |
| 92 | + <Generator>MSBuild:Compile</Generator> |
| 93 | + <SubType>Designer</SubType> |
| 94 | + </Page> |
| 95 | + <Compile Include="App.cs"> |
| 96 | + <DependentUpon>App.xaml</DependentUpon> |
| 97 | + <SubType>Code</SubType> |
| 98 | + </Compile> |
| 99 | + <Compile Include="MainWindow.cs"> |
| 100 | + <DependentUpon>MainWindow.xaml</DependentUpon> |
| 101 | + <SubType>Code</SubType> |
| 102 | + </Compile> |
| 103 | + </ItemGroup> |
| 104 | + <ItemGroup> |
| 105 | + <Compile Include="MyTextBox.cs" /> |
| 106 | + <Compile Include="Properties\Resources.Designer.cs"> |
| 107 | + <AutoGen>True</AutoGen> |
| 108 | + <DesignTime>True</DesignTime> |
| 109 | + <DependentUpon>Resources.resx</DependentUpon> |
| 110 | + </Compile> |
| 111 | + <Compile Include="Properties\Settings.Designer.cs"> |
| 112 | + <AutoGen>True</AutoGen> |
| 113 | + <DependentUpon>Settings.settings</DependentUpon> |
| 114 | + <DesignTimeSharedInput>True</DesignTimeSharedInput> |
| 115 | + </Compile> |
| 116 | + <Compile Include="WpfIslandHost.cs" /> |
| 117 | + <EmbeddedResource Include="Properties\Resources.resx"> |
| 118 | + <Generator>ResXFileCodeGenerator</Generator> |
| 119 | + <LastGenOutput>Resources.Designer.cs</LastGenOutput> |
| 120 | + </EmbeddedResource> |
| 121 | + <None Include="Properties\Settings.settings"> |
| 122 | + <Generator>SettingsSingleFileGenerator</Generator> |
| 123 | + <LastGenOutput>Settings.Designer.cs</LastGenOutput> |
| 124 | + </None> |
| 125 | + <AppDesigner Include="Properties\" /> |
| 126 | + </ItemGroup> |
| 127 | + <ItemGroup> |
| 128 | + <None Include="App.config" /> |
| 129 | + </ItemGroup> |
| 130 | + <ItemGroup> |
| 131 | + <PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.7" /> |
| 132 | + <PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240428000" /> |
| 133 | + </ItemGroup> |
| 134 | + <ItemGroup> |
| 135 | + <ProjectReference Include="..\DrawingIslandCsProjection\DrawingIslandCsProjection.csproj" /> |
| 136 | + </ItemGroup> |
| 137 | + <ItemGroup> |
| 138 | + <Resource Include="appicon.ico" /> |
| 139 | + </ItemGroup> |
| 140 | + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
| 141 | + Other similar extension points exist, see Microsoft.Common.targets. |
| 142 | + <Target Name="BeforeBuild"> |
| 143 | + </Target> |
| 144 | + <Target Name="AfterBuild"> |
| 145 | + </Target> |
| 146 | + --> |
| 147 | +</Project> |
0 commit comments