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.

85 lines
3.6 KiB

1 year ago
1 year ago
1 year ago
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFrameworks>net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks>
  4. <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks>
  5. <!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
  6. <!-- <TargetFrameworks>$(TargetFrameworks);net7.0-tizen</TargetFrameworks> -->
  7. <OutputType>Exe</OutputType>
  8. <RootNamespace>CircleViewerMaui</RootNamespace>
  9. <UseMaui>true</UseMaui>
  10. <SingleProject>true</SingleProject>
  11. <ImplicitUsings>enable</ImplicitUsings>
  12. <!-- Display name -->
  13. <ApplicationTitle>CircleViewerMaui</ApplicationTitle>
  14. <!-- App Identifier -->
  15. <ApplicationId>com.companyname.circleviewermaui</ApplicationId>
  16. <ApplicationIdGuid>dd1c117f-8b6d-4700-9ac7-e6d6b0d49a30</ApplicationIdGuid>
  17. <!-- Versions -->
  18. <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
  19. <ApplicationVersion>1</ApplicationVersion>
  20. <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion>
  21. <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion>
  22. <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
  23. <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
  24. <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
  25. <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
  26. </PropertyGroup>
  27. <ItemGroup>
  28. <!-- App Icon -->
  29. <MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" />
  30. <!-- Splash Screen -->
  31. <MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" />
  32. <!-- Images -->
  33. <MauiImage Include="Resources\Images\*" />
  34. <MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" />
  35. <!-- Custom Fonts -->
  36. <MauiFont Include="Resources\Fonts\*" />
  37. <!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
  38. <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
  39. </ItemGroup>
  40. <ItemGroup>
  41. <PackageReference Include="CommunityToolkit.Maui" Version="5.1.0" />
  42. <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" />
  43. <PackageReference Include="Syncfusion.Maui.PdfViewer" Version="21.1.35" />
  44. </ItemGroup>
  45. <ItemGroup>
  46. <ProjectReference Include="..\CDPShared\CDPShared.csproj" />
  47. </ItemGroup>
  48. <ItemGroup>
  49. <Reference Include="CircleSDK">
  50. <HintPath>..\csharp\src\CircleSDK\bin\Debug\netstandard2.0\CircleSDK.dll</HintPath>
  51. </Reference>
  52. </ItemGroup>
  53. <ItemGroup>
  54. <Compile Update="UserGroups.xaml.cs">
  55. <DependentUpon>UserGroups.xaml</DependentUpon>
  56. </Compile>
  57. </ItemGroup>
  58. <ItemGroup>
  59. <MauiXaml Update="Activity.xaml">
  60. <Generator>MSBuild:Compile</Generator>
  61. </MauiXaml>
  62. <MauiXaml Update="Popups\NewInvite.xaml">
  63. <Generator>MSBuild:Compile</Generator>
  64. </MauiXaml>
  65. <MauiXaml Update="UserGroups.xaml">
  66. <Generator>MSBuild:Compile</Generator>
  67. </MauiXaml>
  68. </ItemGroup>
  69. </Project>