1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 04:32:57 +08:00

Replace Xamarin.Essentials with .NET MAUI Essentials

This commit is contained in:
Salman Ahmed 2022-12-12 01:26:13 +03:00
parent 467e879021
commit c900965a82
2 changed files with 2 additions and 4 deletions

View File

@ -5,6 +5,7 @@
using System;
using Foundation;
using Microsoft.Maui.Devices;
using osu.Framework.Graphics;
using osu.Framework.Input.Handlers;
using osu.Framework.iOS.Input;
@ -12,7 +13,6 @@ using osu.Game;
using osu.Game.Overlays.Settings;
using osu.Game.Updater;
using osu.Game.Utils;
using Xamarin.Essentials;
namespace osu.iOS
{

View File

@ -4,6 +4,7 @@
<SupportedOSPlatformVersion>13.4</SupportedOSPlatformVersion>
<OutputType>Exe</OutputType>
<MtouchUseLlvm>false</MtouchUseLlvm> <!-- This currently causes random lockups during gameplay. https://github.com/mono/mono/issues/18973 -->
<UseMauiEssentials>true</UseMauiEssentials>
</PropertyGroup>
<Import Project="..\osu.iOS.props" />
<ItemGroup>
@ -13,7 +14,4 @@
<ProjectReference Include="..\osu.Game.Rulesets.Osu\osu.Game.Rulesets.Osu.csproj" />
<ProjectReference Include="..\osu.Game.Rulesets.Taiko\osu.Game.Rulesets.Taiko.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Essentials" Version="1.7.0" />
</ItemGroup>
</Project>