1
0

ControlCatalog.Android.csproj 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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="Assets\AboutAssets.txt" />
  15. </ItemGroup>
  16. <ItemGroup>
  17. <AndroidResource Include="..\..\build\Assets\Icon.png">
  18. <Link>Resources\drawable\Icon.png</Link>
  19. </AndroidResource>
  20. </ItemGroup>
  21. <PropertyGroup Condition="'$(Configuration)'=='Release' and '$(TF_BUILD)' == ''">
  22. <DebugSymbols>True</DebugSymbols>
  23. <RunAOTCompilation>True</RunAOTCompilation>
  24. <EnableLLVM>True</EnableLLVM>
  25. <AndroidEnableProfiledAot>True</AndroidEnableProfiledAot>
  26. </PropertyGroup>
  27. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
  28. <EmbedAssembliesIntoApk>False</EmbedAssembliesIntoApk>
  29. <RunAOTCompilation>False</RunAOTCompilation>
  30. </PropertyGroup>
  31. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
  32. <EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
  33. </PropertyGroup>
  34. <ItemGroup>
  35. <PackageReference Include="Xamarin.AndroidX.AppCompat" Version="1.3.1.3" />
  36. <PackageReference Include="Xamarin.AndroidX.Lifecycle.ViewModel" Version="2.3.1.3" />
  37. </ItemGroup>
  38. <ItemGroup>
  39. <ProjectReference Include="..\..\src\Android\Avalonia.Android\Avalonia.Android.csproj" />
  40. <ProjectReference Include="..\ControlCatalog\ControlCatalog.csproj" />
  41. </ItemGroup>
  42. </Project>