PRS.Avalonia.Android.csproj 1.4 KB

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