|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk">
|
2 | 2 | <PropertyGroup>
|
3 |
| - <TargetFrameworks>net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst;net8.0-macos</TargetFrameworks> |
4 |
| - <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks> |
| 3 | + <TargetFrameworks>net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst;net8.0-macos;net9.0;net9.0-android;net9.0-ios;net9.0-maccatalyst;net9.0-macos</TargetFrameworks> |
| 4 | + <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0;net9.0-windows10.0.19041.0</TargetFrameworks> |
5 | 5 | <LangVersion>latest</LangVersion>
|
6 |
| - <UseMaui Condition="'$(TargetFramework)' != 'net8.0'">true</UseMaui> |
7 |
| - <UseMauiEssentials Condition="'$(TargetFramework)' != 'net8.0'">true</UseMauiEssentials> |
8 | 6 | <SingleProject>true</SingleProject>
|
9 | 7 | <AssemblyName>Plugin.InAppBilling</AssemblyName>
|
10 | 8 | <RootNamespace>Plugin.InAppBilling</RootNamespace>
|
|
44 | 42 |
|
45 | 43 | <!-- platform version number information -->
|
46 | 44 | <PropertyGroup>
|
47 |
| - <SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('ios'))">14.2</SupportedOSPlatformVersion> |
48 |
| - <SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('maccatalyst'))">14.0</SupportedOSPlatformVersion> |
49 |
| - <SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('macos'))">13.0</SupportedOSPlatformVersion> |
50 |
| - <SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('android'))">21.0</SupportedOSPlatformVersion> |
51 |
| - <SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('windows'))">10.0.17763.0</SupportedOSPlatformVersion> |
52 |
| - <TargetPlatformMinVersion Condition="$(TargetFramework.Contains('windows'))">10.0.17763.0</TargetPlatformMinVersion> |
| 45 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.0</SupportedOSPlatformVersion> |
| 46 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion> |
| 47 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
| 48 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> |
| 49 | + <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> |
| 50 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> |
53 | 51 | </PropertyGroup>
|
54 | 52 |
|
55 | 53 | <PropertyGroup Condition=" '$(Configuration)'=='Debug' ">
|
|
95 | 93 |
|
96 | 94 | <ItemGroup Condition=" $(TargetFramework.Contains('-android')) ">
|
97 | 95 | <PackageReference Include="Microsoft.Maui.Essentials" Version="$(MauiVersion)" />
|
98 |
| - <PackageReference Include="Xamarin.Android.Google.BillingClient" Version="7.1.1" /> |
99 |
| - <PackageReference Include="Xamarin.AndroidX.Activity"> |
100 |
| - <Version>1.9.2.1</Version> |
101 |
| - </PackageReference> |
102 |
| - <PackageReference Include="Xamarin.AndroidX.Activity.Ktx"> |
103 |
| - <Version>1.9.2.1</Version> |
104 |
| - </PackageReference> |
105 |
| - <PackageReference Include="Xamarin.AndroidX.Collection"> |
106 |
| - <Version>1.4.4</Version> |
107 |
| - </PackageReference> |
108 |
| - <PackageReference Include="Xamarin.AndroidX.Collection.Ktx"> |
109 |
| - <Version>1.4.4</Version> |
110 |
| - </PackageReference> |
111 |
| - <PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData"> |
112 |
| - <Version>2.8.6</Version> |
113 |
| - </PackageReference> |
114 |
| - <PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData.Ktx"> |
115 |
| - <Version>2.8.6</Version> |
116 |
| - </PackageReference> |
117 |
| - <PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData.Ktx"> |
118 |
| - <Version>2.8.3.1</Version> |
119 |
| - </PackageReference> |
120 |
| - <PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData.Core"> |
121 |
| - <Version>2.8.6</Version> |
122 |
| - </PackageReference> |
123 |
| - <PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData.Core.Ktx"> |
124 |
| - <Version>2.8.6</Version> |
125 |
| - </PackageReference> |
126 |
| - <PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData.Core.Ktx"> |
127 |
| - <Version>2.8.3.1</Version> |
128 |
| - </PackageReference> |
129 |
| - <PackageReference Include="Xamarin.AndroidX.Lifecycle.Runtime"> |
130 |
| - <Version>2.8.6</Version> |
131 |
| - </PackageReference> |
132 |
| - <PackageReference Include="Xamarin.AndroidX.Lifecycle.Runtime.Ktx"> |
133 |
| - <Version>2.8.6</Version> |
134 |
| - </PackageReference> |
135 |
| - <PackageReference Include="Xamarin.AndroidX.Lifecycle.Runtime.Ktx"> |
136 |
| - <Version>2.8.3.1</Version> |
137 |
| - </PackageReference> |
138 |
| - <PackageReference Include="Xamarin.AndroidX.Lifecycle.ViewModel"> |
139 |
| - <Version>2.8.6</Version> |
140 |
| - </PackageReference> |
141 |
| - <PackageReference Include="Xamarin.AndroidX.Lifecycle.ViewModel.Ktx"> |
142 |
| - <Version>2.8.6</Version> |
143 |
| - </PackageReference> |
144 |
| - <PackageReference Include="Xamarin.AndroidX.Lifecycle.ViewModel.Ktx"> |
145 |
| - <Version>2.8.3.1</Version> |
146 |
| - </PackageReference> |
147 |
| - <PackageReference Include="Xamarin.AndroidX.Lifecycle.ViewModelSavedState"> |
148 |
| - <Version>2.8.6</Version> |
149 |
| - </PackageReference> |
| 96 | + <PackageReference Include="Xamarin.Android.Google.BillingClient" Version="7.1.1.1" /> |
150 | 97 | </ItemGroup>
|
151 | 98 |
|
152 | 99 | <ItemGroup Condition="$(TargetFramework.StartsWith('net')) == true AND $(TargetFramework.Contains('-android')) != true">
|
|
0 commit comments