|
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFrameworks>net6.0-android;net6.0-ios;net6.0-maccatalyst</TargetFrameworks> |
| 5 | + <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) and '$(MSBuildRuntimeType)' == 'Full'">$(TargetFrameworks);net6.0-windows10.0.19041</TargetFrameworks> |
| 6 | + <OutputType>Exe</OutputType> |
| 7 | + <RootNamespace>ListViewMaui</RootNamespace> |
| 8 | + <UseMaui>true</UseMaui> |
| 9 | + <SingleProject>true</SingleProject> |
| 10 | + <ImplicitUsings>enable</ImplicitUsings> |
| 11 | + |
| 12 | + <!-- Display name --> |
| 13 | + <ApplicationTitle>ListViewMaui</ApplicationTitle> |
| 14 | + |
| 15 | + <!-- App Identifier --> |
| 16 | + <ApplicationId>com.companyname.listviewmaui</ApplicationId> |
| 17 | + <ApplicationId Condition="$(TargetFramework.Contains('-windows'))">5884ABA5-1FD3-4BF1-B232-4CF1C2A53C2C</ApplicationId> |
| 18 | + |
| 19 | + <!-- Versions --> |
| 20 | + <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion> |
| 21 | + <ApplicationVersion>1</ApplicationVersion> |
| 22 | + |
| 23 | + <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-ios'">14.2</SupportedOSPlatformVersion> |
| 24 | + <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-maccatalyst'">14.0</SupportedOSPlatformVersion> |
| 25 | + <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-android'">21.0</SupportedOSPlatformVersion> |
| 26 | + <SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('-windows'))">10.0.18362.0</SupportedOSPlatformVersion> |
| 27 | + <TargetPlatformMinVersion Condition="$(TargetFramework.Contains('-windows'))">10.0.18362.0</TargetPlatformMinVersion> |
| 28 | + </PropertyGroup> |
| 29 | + |
| 30 | + <ItemGroup> |
| 31 | + <!-- App Icon --> |
| 32 | + <MauiIcon Include="Resources\appicon.svg" ForegroundFile="Resources\appiconfg.svg" Color="#512BD4" /> |
| 33 | + |
| 34 | + <!-- Splash Screen --> |
| 35 | + <MauiSplashScreen Include="Resources\appiconfg.svg" Color="#512BD4" BaseSize="128,128" /> |
| 36 | + |
| 37 | + <!-- Images --> |
| 38 | + <MauiImage Include="Resources\Images\*" /> |
| 39 | + <MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" /> |
| 40 | + |
| 41 | + <!-- Custom Fonts --> |
| 42 | + <MauiFont Include="Resources\Fonts\*" /> |
| 43 | + |
| 44 | + <!-- Raw Assets (also remove the "Resources\Raw" prefix) --> |
| 45 | + <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" /> |
| 46 | + </ItemGroup> |
| 47 | + |
| 48 | + <ItemGroup> |
| 49 | + <PackageReference Include="Syncfusion.Maui.ListView" Version="20.1.51-preview" /> |
| 50 | + </ItemGroup> |
| 51 | + |
| 52 | +</Project> |
0 commit comments