From a097cc4bfecbd67a0df2f9b3649daee561874fef Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Mon, 13 Apr 2026 07:23:42 +0000 Subject: [PATCH] Fix DirectoryNotFoundException for Microsoft.CSharp during Android Release build In .NET 10 Android builds, the trimmer may remove Microsoft.CSharp.dll even if it's required for dynamic keyword usage in referenced libraries. Explicitly rooting Microsoft.CSharp in the Release configuration ensures it is preserved in the shrunk output directory, preventing error XACAS7023. --- osu.Android.props | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/osu.Android.props b/osu.Android.props index b2f2567133cc..8c6d7a0710a4 100644 --- a/osu.Android.props +++ b/osu.Android.props @@ -1,4 +1,4 @@ - + 33.0 android-x86;android-arm;android-arm64 @@ -13,10 +13,12 @@ the patch in some build orderings. This suppression is harmless since we do fix them. --> false + + @@ -29,6 +31,11 @@ None false + + + + + + true -