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.

56 lines
2.2 KiB

1 year ago
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFrameworks>net6.0-android;</TargetFrameworks>
  4. <!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
  5. <!-- <TargetFrameworks>$(TargetFrameworks);net6.0-tizen</TargetFrameworks> -->
  6. <OutputType>Exe</OutputType>
  7. <RootNamespace>firebase</RootNamespace>
  8. <UseMaui>true</UseMaui>
  9. <SingleProject>true</SingleProject>
  10. <ImplicitUsings>enable</ImplicitUsings>
  11. <!-- Display name -->
  12. <ApplicationTitle>firebase</ApplicationTitle>
  13. <!-- App Identifier -->
  14. <ApplicationId>com.companyname.firebase</ApplicationId>
  15. <ApplicationIdGuid>88f02b35-6bcc-47c6-9ae0-e68077999818</ApplicationIdGuid>
  16. <!-- Versions -->
  17. <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
  18. <ApplicationVersion>1</ApplicationVersion>
  19. <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
  20. </PropertyGroup>
  21. <ItemGroup>
  22. <!-- App Icon -->
  23. <MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" />
  24. <!-- Splash Screen -->
  25. <MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" />
  26. <!-- Images -->
  27. <MauiImage Include="Resources\Images\*" />
  28. <MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" />
  29. <!-- Custom Fonts -->
  30. <MauiFont Include="Resources\Fonts\*" />
  31. <!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
  32. <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
  33. </ItemGroup>
  34. <ItemGroup Condition="'$(TargetFramework)' == 'net6.0-android'">
  35. <PackageReference Include="Plugin.Firebase" Version="2.0.6" />
  36. <GoogleServicesJson Include="google-services.json" />
  37. <PackageReference Include="Xamarin.Kotlin.StdLib.Jdk7" Version="1.7.10" ExcludeAssets="build;buildTransitive" />
  38. <PackageReference Include="Xamarin.Kotlin.StdLib.Jdk8" Version="1.7.10" ExcludeAssets="build;buildTransitive" />
  39. </ItemGroup>
  40. <ItemGroup>
  41. <PackageReference Include="Plugin.Firebase.Crashlytics" Version="2.0.1" />
  42. </ItemGroup>
  43. </Project>