|
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks> |
| 5 | + <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.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);net8.0-tizen</TargetFrameworks> --> |
| 8 | + |
| 9 | + <!-- Note for MacCatalyst: |
| 10 | + The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64. |
| 11 | + When specifying both architectures, use the plural <RuntimeIdentifiers> instead of the singular <RuntimeIdentifier>. |
| 12 | + The Mac App Store will NOT accept apps with ONLY maccatalyst-arm64 indicated; |
| 13 | + either BOTH runtimes must be indicated or ONLY macatalyst-x64. --> |
| 14 | + <!-- For example: <RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers> --> |
| 15 | + |
| 16 | + <OutputType>Exe</OutputType> |
| 17 | + <RootNamespace>AIDataGridSemanticSearch</RootNamespace> |
| 18 | + <UseMaui>true</UseMaui> |
| 19 | + <SingleProject>true</SingleProject> |
| 20 | + <ImplicitUsings>enable</ImplicitUsings> |
| 21 | + <Nullable>enable</Nullable> |
| 22 | + |
| 23 | + <!-- Display name --> |
| 24 | + <ApplicationTitle>AIDataGridSemanticSearch</ApplicationTitle> |
| 25 | + |
| 26 | + <!-- App Identifier --> |
| 27 | + <ApplicationId>com.companyname.aidatagridsemanticsearch</ApplicationId> |
| 28 | + |
| 29 | + <!-- Versions --> |
| 30 | + <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion> |
| 31 | + <ApplicationVersion>1</ApplicationVersion> |
| 32 | + |
| 33 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion> |
| 34 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion> |
| 35 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
| 36 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> |
| 37 | + <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> |
| 38 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> |
| 39 | + |
| 40 | + <!-- Work-around for Skia issue with latest MAUI --> |
| 41 | + <WindowsSdkPackageVersion>10.0.19041.54</WindowsSdkPackageVersion> |
| 42 | + |
| 43 | + </PropertyGroup> |
| 44 | + |
| 45 | + <ItemGroup> |
| 46 | + <!-- App Icon --> |
| 47 | + <MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" /> |
| 48 | + |
| 49 | + <!-- Splash Screen --> |
| 50 | + <MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" /> |
| 51 | + |
| 52 | + <!-- Images --> |
| 53 | + <MauiImage Include="Resources\Images\*" /> |
| 54 | + <MauiImage Update="Resources\Images\dotnet_bot.png" Resize="True" BaseSize="300,185" /> |
| 55 | + |
| 56 | + <!-- Custom Fonts --> |
| 57 | + <MauiFont Include="Resources\Fonts\*" /> |
| 58 | + |
| 59 | + <!-- Raw Assets (also remove the "Resources\Raw" prefix) --> |
| 60 | + <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" /> |
| 61 | + </ItemGroup> |
| 62 | + |
| 63 | + <ItemGroup> |
| 64 | + <PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" /> |
| 65 | + <PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" /> |
| 66 | + <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" /> |
| 67 | + <PackageReference Include="SmartComponents.LocalEmbeddings" Version="0.1.0-preview10148" /> |
| 68 | + <PackageReference Include="Telerik.UI.for.Maui" Version="7.1.0" /> |
| 69 | + </ItemGroup> |
| 70 | + |
| 71 | +</Project> |
0 commit comments