Fix Android linker removing System.Globalisation.*Calendar

This commit is contained in:
Susko3 2022-12-08 22:50:29 +01:00
parent a120de76e0
commit 34ad1e1d61
2 changed files with 10 additions and 0 deletions

View File

@ -58,4 +58,7 @@
<!-- Realm needs to be directly referenced in all Xamarin projects, as it will not pull in its transitive dependencies otherwise. -->
<PackageReference Include="Realm" Version="10.18.0" />
</ItemGroup>
<ItemGroup>
<LinkDescription Include="$(MSBuildThisFileDirectory)\osu.Android\Linker.xml"/>
</ItemGroup>
</Project>

7
osu.Android/Linker.xml Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<linker>
<assembly fullname="mscorlib">
<!-- see https://github.com/ppy/osu/issues/21516 -->
<type fullname="System.Globalization.*Calendar"/>
</assembly>
</linker>