ControlCatalog.Android.csproj 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net6.0-android</TargetFramework>
  4. <SupportedOSPlatformVersion>21</SupportedOSPlatformVersion>
  5. <OutputType>Exe</OutputType>
  6. <Nullable>enable</Nullable>
  7. <ApplicationId>com.Avalonia.ControlCatalog</ApplicationId>
  8. <ApplicationVersion>1</ApplicationVersion>
  9. <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
  10. <AndroidPackageFormat>apk</AndroidPackageFormat>
  11. <MSBuildEnableWorkloadResolver>true</MSBuildEnableWorkloadResolver>
  12. </PropertyGroup>
  13. <ItemGroup>
  14. <None Remove="Resources\drawable-night-v31\avalonia_anim.xml" />
  15. <None Remove="Resources\drawable-v31\avalonia_anim.xml" />
  16. <None Remove="Resources\values-v31\styles.xml" />
  17. </ItemGroup>
  18. <ItemGroup>
  19. <AndroidResource Include="..\..\build\Assets\Icon.png">
  20. <Link>Resources\drawable\Icon.png</Link>
  21. </AndroidResource>
  22. </ItemGroup>
  23. <PropertyGroup Condition="'$(RunAOTCompilation)'=='' and '$(Configuration)'=='Release' and '$(TF_BUILD)'==''">
  24. <RunAOTCompilation>True</RunAOTCompilation>
  25. </PropertyGroup>
  26. <!-- PropertyGroup Condition="'$(RunAOTCompilation)'=='True'">
  27. <EnableLLVM>True</EnableLLVM>
  28. <AndroidAotAdditionalArguments>no-write-symbols,nodebug</AndroidAotAdditionalArguments>
  29. <AndroidAotMode>Hybrid</AndroidAotMode>
  30. <AndroidGenerateJniMarshalMethods>True</AndroidGenerateJniMarshalMethods>
  31. </PropertyGroup -->
  32. <PropertyGroup Condition="'$(AndroidEnableProfiler)'=='True'">
  33. <IsEmulator Condition="'$(IsEmulator)' == ''">True</IsEmulator>
  34. <DebugSymbols>True</DebugSymbols>
  35. </PropertyGroup>
  36. <ItemGroup>
  37. <AndroidEnvironment Condition="'$(IsEmulator)'=='True'" Include="environment.emulator.txt" />
  38. <AndroidEnvironment Condition="'$(IsEmulator)'!='True'" Include="environment.device.txt" />
  39. </ItemGroup>
  40. <ItemGroup>
  41. <PackageReference Include="Xamarin.AndroidX.Core.SplashScreen" Version="1.0.1" />
  42. </ItemGroup>
  43. <ItemGroup>
  44. <ProjectReference Include="..\..\src\Android\Avalonia.Android\Avalonia.Android.csproj" />
  45. <ProjectReference Include="..\ControlCatalog\ControlCatalog.csproj" />
  46. </ItemGroup>
  47. </Project>