-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] AppThemeResourceExtension crashes the app after updating the community toolkit version to 10.0.0 #2415
Comments
The same happens for me. Both platforms |
I'm also having this issue on Windows & Android. Reverting back to 9.1.1 resolves the issue. |
+1 |
Same. Not fixed in 11.0.0 😫 |
This issue has not been triaged yet. Someone needs to do it and create PR. |
Maybe you need to adjust the title and mention that the app crashes and that it's not just an exception that could be caught. I'm a bit surprised that this doesn't get any attention from the maintainers. Sorry @jfversluis - I'll just tag you as a managing maintainer. |
@pmahend1 or anyone here, feel free to do so 😉 Its a community project, we're all in this together! Quick investigation shows its because this path is invoked: More specifically: |
Oh found it, it wasn't actually that hard. Could you try the resulting build from #2460 to verify that fixes it for you? |
I can confirm that it fixes the problem for me on Android |
I can also confirm the fix, it works for me on Android and Windows. |
@jfversluis Thanks for the fix. I was trying to find a fix but was not able to. I did not know about |
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
AppThemeResourceExtension crashes the app during initialization on all platforms in Release mode. In Debug, it works as expected.
If the line with AppThemeResource is removed, no exception will be thrown.
Android Emulator exception
iOS Simulator exception
Expected Behavior
AppThemeResourceExtension does not throw an exception.
Steps To Reproduce
Open and run solution from reproduction repository
Link to public reproduction project repository
https://github.com/DooNeGo/MauiApp1
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: