-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
44 lines (37 loc) · 1.91 KB
/
Copy pathDirectory.Build.props
File metadata and controls
44 lines (37 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0" encoding="UTF-8"?>
<!--
Repo-wide build configuration for MauiNativePdfView.
As of 2.0.0 the library targets .NET 10 only. .NET 9 reached end of support in
May 2026; consumers still on .NET 9 should stay on the 1.0.x line.
This file centralizes the target frameworks and package versions so the three
projects (binding, library, sample) cannot drift apart.
Note the deliberate split between the two MAUI versions below: a library must
reference the LOWEST version it supports, because a PackageReference version is
a floor that every consumer inherits. Pinning the library to the newest MAUI
would force every consumer onto that version. The sample is an app, not a
dependency, so it just tracks latest.
-->
<Project>
<!-- Target frameworks -->
<PropertyGroup>
<!-- Full MAUI surface (library + sample). Mac Catalyst and Windows intentionally excluded. -->
<MauiTargetFrameworks>net10.0-android;net10.0-ios</MauiTargetFrameworks>
<!-- Android-only surface (native AAR binding project) -->
<AndroidBindingTargetFramework>net10.0-android</AndroidBindingTargetFramework>
</PropertyGroup>
<!-- Package versions -->
<PropertyGroup>
<!-- Floor for the shipped library: oldest .NET 10 MAUI we support. -->
<MauiControlsLibraryVersion>10.0.0</MauiControlsLibraryVersion>
<!-- Latest stable, used by the sample app only. -->
<MauiControlsVersion>10.0.90</MauiControlsVersion>
<!-- CommunityToolkit.Maui 15.0.0 requires Microsoft.Maui.Controls >= 10.0.60. -->
<CommunityToolkitMauiVersion>15.0.0</CommunityToolkitMauiVersion>
<MicrosoftExtensionsVersion>10.0.10</MicrosoftExtensionsVersion>
<XamarinKotlinStdLibVersion>2.4.0.1</XamarinKotlinStdLibVersion>
</PropertyGroup>
<!-- Shipped package version. CI overrides this via /p:Version and /p:PackageVersion. -->
<PropertyGroup>
<VersionPrefix>2.0.0</VersionPrefix>
</PropertyGroup>
</Project>