You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Example.Android.csproj 981B

1 yıl önce
12345678910111213141516171819202122232425262728
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <OutputType>Exe</OutputType>
  4. <TargetFramework>net7.0-android</TargetFramework>
  5. <SupportedOSPlatformVersion>21</SupportedOSPlatformVersion>
  6. <Nullable>enable</Nullable>
  7. <ApplicationId>com.CompanyName.Example</ApplicationId>
  8. <ApplicationVersion>1</ApplicationVersion>
  9. <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
  10. <AndroidPackageFormat>apk</AndroidPackageFormat>
  11. <AndroidEnableProfiledAot>False</AndroidEnableProfiledAot>
  12. </PropertyGroup>
  13. <ItemGroup>
  14. <AndroidResource Include="Icon.png">
  15. <Link>Resources\drawable\Icon.png</Link>
  16. </AndroidResource>
  17. </ItemGroup>
  18. <ItemGroup>
  19. <PackageReference Include="Avalonia.Android" Version="$(AvaloniaVersion)" />
  20. <PackageReference Include="Xamarin.AndroidX.Core.SplashScreen" Version="1.0.1.1" />
  21. </ItemGroup>
  22. <ItemGroup>
  23. <ProjectReference Include="..\Example\Example.csproj" />
  24. </ItemGroup>
  25. </Project>