1
0

ControlCatalog.Android.csproj 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. <RuntimeIdentifiers>android-arm64;android-x64</RuntimeIdentifiers>
  13. </PropertyGroup>
  14. <ItemGroup>
  15. <AndroidResource Include="..\..\build\Assets\Icon.png">
  16. <Link>Resources\drawable\Icon.png</Link>
  17. </AndroidResource>
  18. </ItemGroup>
  19. <PropertyGroup Condition="'$(RunAOTCompilation)'=='' and '$(Configuration)'=='Release' and '$(TF_BUILD)'==''">
  20. <RunAOTCompilation>True</RunAOTCompilation>
  21. </PropertyGroup>
  22. <PropertyGroup Condition="'$(RunAOTCompilation)'=='True'">
  23. <EnableLLVM>True</EnableLLVM>
  24. <AndroidAotAdditionalArguments>no-write-symbols,nodebug</AndroidAotAdditionalArguments>
  25. <AndroidAotMode>Hybrid</AndroidAotMode>
  26. <AndroidGenerateJniMarshalMethods>True</AndroidGenerateJniMarshalMethods>
  27. </PropertyGroup>
  28. <PropertyGroup Condition="'$(AndroidEnableProfiler)'=='True'">
  29. <IsEmulator Condition="'$(IsEmulator)' == ''">True</IsEmulator>
  30. <DebugSymbols>True</DebugSymbols>
  31. </PropertyGroup>
  32. <ItemGroup>
  33. <AndroidEnvironment Condition="'$(IsEmulator)'=='True'" Include="environment.emulator.txt" />
  34. <AndroidEnvironment Condition="'$(IsEmulator)'!='True'" Include="environment.device.txt" />
  35. </ItemGroup>
  36. <ItemGroup>
  37. <ProjectReference Include="..\..\src\Android\Avalonia.Android\Avalonia.Android.csproj" />
  38. <ProjectReference Include="..\ControlCatalog\ControlCatalog.csproj" />
  39. </ItemGroup>
  40. </Project>