PRS.Avalonia.Android.csproj 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <OutputType>Exe</OutputType>
  4. <TargetFramework>net8.0-android</TargetFramework>
  5. <SupportedOSPlatformVersion>21</SupportedOSPlatformVersion>
  6. <Nullable>enable</Nullable>
  7. <ApplicationId>com.CompanyName.PRS.Avalonia</ApplicationId>
  8. <ApplicationVersion>1</ApplicationVersion>
  9. <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
  10. <AndroidPackageFormat>apk</AndroidPackageFormat>
  11. <AndroidEnableProfiledAot>false</AndroidEnableProfiledAot>
  12. </PropertyGroup>
  13. <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
  14. <AndroidLinkMode>None</AndroidLinkMode>
  15. </PropertyGroup>
  16. <ItemGroup>
  17. <PackageReference Include="Autofac" />
  18. <PackageReference Include="Avalonia.Android"/>
  19. <PackageReference Include="Xamarin.AndroidX.Core.SplashScreen"/>
  20. </ItemGroup>
  21. <ItemGroup>
  22. <ProjectReference Include="..\..\..\inabox\InABox.Avalonia.Platform.Android\InABox.Avalonia.Platform.Android.csproj" />
  23. <ProjectReference Include="..\PRS.Avalonia\PRS.Avalonia.csproj"/>
  24. </ItemGroup>
  25. <ItemGroup>
  26. <AndroidResource Include="Resources\drawable\Icon.png">
  27. <Link>Resources\drawable\Icon.png</Link>
  28. </AndroidResource>
  29. </ItemGroup>
  30. </Project>