|
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFrameworks>net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks> |
| 5 | + <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks> |
| 6 | + <!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET --> |
| 7 | + <!-- <TargetFrameworks>$(TargetFrameworks);net7.0-tizen</TargetFrameworks> --> |
| 8 | + <OutputType>Exe</OutputType> |
| 9 | + <RootNamespace>MauiProject</RootNamespace> |
| 10 | + <UseMaui>true</UseMaui> |
| 11 | + <SingleProject>true</SingleProject> |
| 12 | + <ImplicitUsings>enable</ImplicitUsings> |
| 13 | + |
| 14 | + <!-- Display name --> |
| 15 | + <ApplicationTitle>MauiProject</ApplicationTitle> |
| 16 | + |
| 17 | + <!-- App Identifier --> |
| 18 | + <ApplicationId>com.companyname.mauiproject</ApplicationId> |
| 19 | + <ApplicationIdGuid>7531eec1-bc6b-4eb1-9329-1d6555bfbcc6</ApplicationIdGuid> |
| 20 | + |
| 21 | + <!-- Versions --> |
| 22 | + <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion> |
| 23 | + <ApplicationVersion>1</ApplicationVersion> |
| 24 | + |
| 25 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion> |
| 26 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion> |
| 27 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
| 28 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> |
| 29 | + <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> |
| 30 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> |
| 31 | + </PropertyGroup> |
| 32 | + |
| 33 | + <ItemGroup> |
| 34 | + <!-- App Icon --> |
| 35 | + <MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" /> |
| 36 | + |
| 37 | + <!-- Splash Screen --> |
| 38 | + <MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" /> |
| 39 | + |
| 40 | + <!-- Images --> |
| 41 | + <MauiImage Include="Resources\Images\*" /> |
| 42 | + <MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" /> |
| 43 | + |
| 44 | + <!-- Custom Fonts --> |
| 45 | + <MauiFont Include="Resources\Fonts\*" /> |
| 46 | + |
| 47 | + <!-- Raw Assets (also remove the "Resources\Raw" prefix) --> |
| 48 | + <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" /> |
| 49 | + </ItemGroup> |
| 50 | + |
| 51 | + <ItemGroup> |
| 52 | + <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" /> |
| 53 | + <PackageReference Include="Syncfusion.Maui.Core" Version="20.4.51" /> |
| 54 | + </ItemGroup> |
| 55 | + |
| 56 | +</Project> |
0 commit comments