mirror of
https://github.com/PacktPublishing/Learn-WinUI-3-Second-Edition.git
synced 2026-06-20 12:23:09 +00:00
Add starter project for Chapter 13
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
<Project>
|
||||
|
||||
<!--
|
||||
If working on a single target framework, copy solution-config.props.sample to solution-config.props
|
||||
and uncomment the appropriate lines in solution-config.props to build for the desired platforms only.
|
||||
|
||||
https://platform.uno/docs/articles/guides/solution-building-single-targetframework.html
|
||||
-->
|
||||
<Import Project="solution-config.props" Condition="exists('solution-config.props')" />
|
||||
|
||||
|
||||
<PropertyGroup>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
|
||||
<DebugType>portable</DebugType>
|
||||
<DebugSymbols>True</DebugSymbols>
|
||||
|
||||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
||||
|
||||
<NoWarn>$(NoWarn);CA1416;NU1507</NoWarn>
|
||||
|
||||
<DefaultLanguage>en</DefaultLanguage>
|
||||
|
||||
<IsAndroid>false</IsAndroid>
|
||||
<IsIOS>false</IsIOS>
|
||||
<IsMac>false</IsMac>
|
||||
<IsMacCatalyst>false</IsMacCatalyst>
|
||||
<IsWinAppSdk>false</IsWinAppSdk>
|
||||
</PropertyGroup>
|
||||
|
||||
<Choose>
|
||||
<When Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">
|
||||
<PropertyGroup>
|
||||
<IsAndroid>true</IsAndroid>
|
||||
<SupportedOSPlatformVersion>21.0</SupportedOSPlatformVersion>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
<When Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
|
||||
<PropertyGroup>
|
||||
<IsIOS>true</IsIOS>
|
||||
<SupportedOSPlatformVersion>14.2</SupportedOSPlatformVersion>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
<When Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'macos'">
|
||||
<PropertyGroup>
|
||||
<IsMac>true</IsMac>
|
||||
<SupportedOSPlatformVersion>10.14</SupportedOSPlatformVersion>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
<When Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">
|
||||
<PropertyGroup>
|
||||
<IsMacCatalyst>true</IsMacCatalyst>
|
||||
<SupportedOSPlatformVersion>14.0</SupportedOSPlatformVersion>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
<When Condition="$(TargetFramework.Contains('windows10'))">
|
||||
<PropertyGroup>
|
||||
<IsWinAppSdk>true</IsWinAppSdk>
|
||||
<SupportedOSPlatformVersion>10.0.18362.0</SupportedOSPlatformVersion>
|
||||
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
|
||||
<RuntimeIdentifiers>win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers>
|
||||
</PropertyGroup>
|
||||
</When>
|
||||
</Choose>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user