You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
142 lines
5.9 KiB
142 lines
5.9 KiB
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
|
|
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
|
|
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
|
|
<!-- <TargetFrameworks>$(TargetFrameworks);net8.0-tizen</TargetFrameworks> -->
|
|
|
|
<!-- Note for MacCatalyst:
|
|
The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64.
|
|
When specifying both architectures, use the plural <RuntimeIdentifiers> instead of the singular <RuntimeIdentifier>.
|
|
The Mac App Store will NOT accept apps with ONLY maccatalyst-arm64 indicated;
|
|
either BOTH runtimes must be indicated or ONLY macatalyst-x64. -->
|
|
<!-- For example: <RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers> -->
|
|
|
|
<OutputType>Exe</OutputType>
|
|
<RootNamespace>Qwirkle</RootNamespace>
|
|
<UseMaui>true</UseMaui>
|
|
<SingleProject>true</SingleProject>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
|
|
<!-- Display name -->
|
|
<ApplicationTitle>Qwirkle</ApplicationTitle>
|
|
|
|
<!-- App Identifier -->
|
|
<ApplicationId>com.companyname.qwirkle</ApplicationId>
|
|
|
|
<!-- Versions -->
|
|
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
|
|
<ApplicationVersion>1</ApplicationVersion>
|
|
|
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion>
|
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion>
|
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
|
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
|
|
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
|
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- App Icon -->
|
|
<!-- <MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" />-->
|
|
<MauiIcon Include="Resources\AppIcon\appicon.svg"/>
|
|
|
|
<!-- Splash Screen -->
|
|
<MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" />
|
|
|
|
<!-- Images -->
|
|
<MauiImage Include="Resources\Images\*" />
|
|
<MauiImage Update="Resources\Images\dotnet_bot.png" Resize="True" BaseSize="300,185" />
|
|
|
|
<!-- Custom Fonts -->
|
|
<MauiFont Include="Resources\Fonts\*" />
|
|
|
|
<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
|
|
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="Resources\Fonts\DiloWorld.ttf" />
|
|
<None Remove="Resources\Fonts\Lexend-Medium.ttf" />
|
|
<None Remove="Resources\Images\qwirklelogo.png" />
|
|
<None Remove="Resources\Images\uca.png" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="CommunityToolkit.Maui" Version="9.0.0" />
|
|
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.40" />
|
|
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.40" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0-preview.4.24266.19" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\QwirkleClassLibrary\QwirkleClassLibrary.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Update="Pages\Leaderboard.xaml.cs">
|
|
<DependentUpon>Leaderboard.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="Pages\GameBoard.xaml.cs">
|
|
<DependentUpon>Gameboard.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="Pages\Credits.xaml.cs">
|
|
<DependentUpon>Credits.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="Pages\SetPlayers.xaml.cs">
|
|
<DependentUpon>SetPlayers.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="Pages\Settings.xaml.cs">
|
|
<DependentUpon>Settings.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="Views\GoBack.xaml.cs">
|
|
<DependentUpon>GoBack.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="Views\Scoreboard.xaml.cs">
|
|
<DependentUpon>Scoreboard.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="Views\ScoreboardLine.xaml.cs">
|
|
<DependentUpon>ScoreboardLine.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Update="Views\TileView.xaml.cs">
|
|
<DependentUpon>TileView.xaml</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<MauiXaml Update="Pages\Leaderboard.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
<MauiXaml Update="Pages\Gameboard.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
<MauiXaml Update="Pages\Credits.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
<MauiXaml Update="Pages\SetPlayers.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
<MauiXaml Update="Pages\Settings.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
<MauiXaml Update="Views\ButtonShadow.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
<MauiXaml Update="Views\EntryPlayer.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
<MauiXaml Update="Views\GoBack.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
<MauiXaml Update="Views\Scoreboard.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
<MauiXaml Update="Views\ScoreboardLine.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</MauiXaml>
|
|
</ItemGroup>
|
|
|
|
</Project>
|