-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Description
This is related to #25540 (which has been closed despite some people reporting the same issue).
I get it on Debug and Release mode.
I have seen this problem since Xamarin's EOL. In every .net/maui version.
Android and Windows (I don't usually use iOS/Mac so I cannot describe behaviour there).
- I add my custom fonts to the project like this:
<MauiFont Include="Resources\Fonts\*" /> - I add my splash screen to the project like this:
<MauiSplashScreen Condition="'$(TargetFramework)'=='net10.0-android'" Include="SVG\splashicon.svg" Color="#063a88" BaseSize="150,150" />
Randomly, after generating a new compilation, this won't show my fonts. On Android, when this happens, my splash screen is not showing either.
Usually it takes for me Clean & Rebuild and even manually deleting bin & obj folders. Sometimes, multiple times.
For me it takes 15 min+ to compilate my project using AOT. It's very annoying to run the application afterwards and see my fonts are missing and start the whole process again.
Steps to Reproduce
- Create new project
- Add custom fonts / splash screen
- Keep on compiling (debug & release). Sometimes I don't see the problem for weeks and then appears for 3 consecutive compilations.
Link to public reproduction project repository
No response
Version with bug
Unknown/Other
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
Windows, Android
Affected platform versions
Not specifically related to any platform version, I have seen on multiple
Did you find any workaround?
No response