Skip to content

Commit

Permalink
Update sample projects to .net9
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasBuchholz committed Dec 3, 2024
1 parent eb33bd1 commit 372aaa3
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions sample/Playground/Playground.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<TargetFrameworks>net8.0-android;net8.0-ios</TargetFrameworks>
<RootNamespace>Playground</RootNamespace>
<UseMaui>true</UseMaui>
<MauiVersion>9.0.0</MauiVersion>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
<OutputType>Exe</OutputType>
Expand Down
5 changes: 5 additions & 0 deletions src/Auth.Facebook/Auth.Facebook.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<TargetFrameworks>net8.0;net8.0-android;net8.0-ios</TargetFrameworks>
<UseMauiEssentials>true</UseMauiEssentials>
<MauiVersion>8.0.3</MauiVersion>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>

Expand Down Expand Up @@ -80,6 +81,10 @@
</ItemGroup>

<!-- nuget packages -->
<ItemGroup>
<PackageReference Include="Microsoft.Maui.Essentials" Version="$(MauiVersion)" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-android'">
<PackageReference Include="Xamarin.Facebook.Android" Version="11.2.0.1" />
</ItemGroup>
Expand Down
5 changes: 5 additions & 0 deletions src/Auth.Google/Auth.Google.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<TargetFrameworks>net8.0;net8.0-android;net8.0-ios</TargetFrameworks>
<UseMauiEssentials>true</UseMauiEssentials>
<MauiVersion>8.0.3</MauiVersion>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>

Expand Down Expand Up @@ -80,6 +81,10 @@
</ItemGroup>

<!-- nuget packages -->
<ItemGroup>
<PackageReference Include="Microsoft.Maui.Essentials" Version="$(MauiVersion)" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-android'">
<PackageReference Include="Xamarin.GooglePlayServices.Auth" Version="120.2.0.2" />
</ItemGroup>
Expand Down
5 changes: 5 additions & 0 deletions src/Auth/Auth.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<TargetFrameworks>net8.0;net8.0-android;net8.0-ios</TargetFrameworks>
<UseMauiEssentials>true</UseMauiEssentials>
<MauiVersion>8.0.3</MauiVersion>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>

Expand Down Expand Up @@ -79,6 +80,10 @@
</ItemGroup>

<!-- nuget packages -->
<ItemGroup>
<PackageReference Include="Microsoft.Maui.Essentials" Version="$(MauiVersion)" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-android'">
<PackageReference Include="Xamarin.Firebase.Auth" Version="122.2.0" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0-android;net8.0-ios</TargetFrameworks>
<TargetFrameworks>net9.0-android;net9.0-ios</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>Plugin.Firebase.IntegrationTests</RootNamespace>
<UseMaui>true</UseMaui>
<MauiVersion>9.0.0</MauiVersion>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>

Expand Down Expand Up @@ -50,6 +51,8 @@
</ItemGroup>

<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
<PackageReference Include="Xamarin.AndroidX.Core" Version="1.15.0.1" />
<PackageReference Include="Xamarin.AndroidX.Collection" Version="1.4.5.1" />
<PackageReference Include="Xamarin.AndroidX.Collection.Ktx" Version="1.4.5.1" />
Expand Down

0 comments on commit 372aaa3

Please sign in to comment.