|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk">
|
2 | 2 |
|
3 | 3 | <PropertyGroup>
|
4 |
| - <TargetFrameworks>net8.0-ios;net8.0-android</TargetFrameworks> |
| 4 | + <TargetFrameworks>net9.0-android;net9.0-ios</TargetFrameworks> |
5 | 5 | <!-- Note for MacCatalyst:
|
6 | 6 | The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64.
|
7 | 7 | When specifying both architectures, use the plural <RuntimeIdentifiers> instead of the singular <RuntimeIdentifier>.
|
|
26 | 26 | <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
|
27 | 27 | <ApplicationVersion>1</ApplicationVersion>
|
28 | 28 |
|
29 |
| - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion> |
30 |
| - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion> |
| 29 | + <!-- To develop, package, and publish an app to the Microsoft Store, see: https://aka.ms/MauiTemplateUnpackaged --> |
| 30 | + <WindowsPackageType>None</WindowsPackageType> |
| 31 | + |
| 32 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.0</SupportedOSPlatformVersion> |
| 33 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion> |
31 | 34 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
|
32 | 35 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
|
33 | 36 | <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
|
|
36 | 39 |
|
37 | 40 | <ItemGroup>
|
38 | 41 | <!-- App Icon -->
|
39 |
| - <MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4"/> |
| 42 | + <MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" /> |
40 | 43 |
|
41 | 44 | <!-- Splash Screen -->
|
42 |
| - <MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128"/> |
| 45 | + <MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" /> |
43 | 46 |
|
44 | 47 | <!-- Images -->
|
45 |
| - <MauiImage Include="Resources\Images\*"/> |
46 |
| - <MauiImage Update="Resources\Images\dotnet_bot.png" Resize="True" BaseSize="300,185"/> |
| 48 | + <MauiImage Include="Resources\Images\*" /> |
| 49 | + <MauiImage Update="Resources\Images\dotnet_bot.png" Resize="True" BaseSize="300,185" /> |
47 | 50 |
|
48 | 51 | <!-- Custom Fonts -->
|
49 |
| - <MauiFont Include="Resources\Fonts\*"/> |
| 52 | + <MauiFont Include="Resources\Fonts\*" /> |
50 | 53 |
|
51 | 54 | <!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
|
52 |
| - <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)"/> |
| 55 | + <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" /> |
53 | 56 | </ItemGroup>
|
54 | 57 |
|
55 | 58 | <ItemGroup>
|
56 |
| - <PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)"/> |
57 |
| - <PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)"/> |
| 59 | + <PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" /> |
| 60 | + <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0-rc.2.24473.5" /> |
58 | 61 | </ItemGroup>
|
59 | 62 |
|
60 | 63 | <ItemGroup Condition="$(TargetFramework.Contains('ios')) Or $(TargetFramework.Contains('maccatalyst'))">
|
|
63 | 66 |
|
64 | 67 | <ItemGroup Condition="$(TargetFramework.Contains('android'))">
|
65 | 68 | <ProjectReference Include="..\android\Facebook.Android.Binding\Facebook.Android.Binding.csproj" />
|
66 |
| - <!-- Include core facebook dependencies. Starting in .NET 9 these can potentially be replaced with @(AndroidMavenPackage) --> |
67 |
| - <AndroidLibrary Include="..\android\native\mauifacebook\bin\Release\$(TargetFramework)\outputs\deps\facebook-android-sdk-17.0.0.aar"> |
68 |
| - <Bind>false</Bind> |
69 |
| - <Visible>false</Visible> |
70 |
| - </AndroidLibrary> |
71 |
| - <AndroidLibrary Include="..\android\native\mauifacebook\bin\Release\$(TargetFramework)\outputs\deps\facebook-common-17.0.0.aar"> |
72 |
| - <Bind>false</Bind> |
73 |
| - <Visible>false</Visible> |
74 |
| - </AndroidLibrary> |
75 |
| - <AndroidLibrary Include="..\android\native\mauifacebook\bin\Release\$(TargetFramework)\outputs\deps\facebook-core-17.0.0.aar"> |
76 |
| - <Bind>false</Bind> |
77 |
| - <Visible>false</Visible> |
78 |
| - </AndroidLibrary> |
| 69 | + <!-- Add maven dependencies used in Facebook.Android.Binding.csproj to be resolved at runtime. |
| 70 | + See https://learn.microsoft.com/en-us/dotnet/android/binding-libs/advanced-concepts/android-maven-library --> |
| 71 | + <AndroidMavenLibrary Include="com.facebook.android:facebook-core" Version="17.0.2" Bind="false" /> |
| 72 | + <AndroidMavenLibrary Include="com.facebook.android:facebook-bolts" Version="17.0.2" Bind="false" /> |
| 73 | + <PackageReference Include="Xamarin.AndroidX.Annotation" Version="1.8.2.1" /> |
| 74 | + <PackageReference Include="Xamarin.AndroidX.Legacy.Support.Core.Utils" Version="1.0.0.29" /> |
| 75 | + <PackageReference Include="Xamarin.Google.Android.InstallReferrer" Version="1.1.2.6" /> |
| 76 | + <PackageReference Include="Xamarin.AndroidX.Core.Core.Ktx" Version="1.13.1.5" /> |
| 77 | + <PackageReference Include="Xamarin.Kotlin.StdLib" Version="2.0.21" /> |
79 | 78 | </ItemGroup>
|
80 | 79 |
|
81 | 80 | </Project>
|
0 commit comments