Open gtidev1 opened 11 months ago
+1
Verified this issue with Visual Studio 17.10.0 Preview 3 (8.0.20 & 8.0.0-rc.2.9530). Can repro this issue on Android device (api33).
I'm checking every release made by this repo since prev year. Not a single handles this. Every time I start my app in Debug it works. Switch to Release and getting crush with exact same error. Even Debug build can't start. Only via Visual Studio Debug through USB
same issue here, if any info is helping to find a fix or workaround please have a look. Otherwise it can be closed since this is open already. https://github.com/dotnet/maui/issues/22825
Description
Unexpected release build crash on Android device (after the same code works on the device as a debug build)
Steps to Reproduce
<Entry Style="{StaticResource MisssingStyle}" Text="Placeholder" />
Link to public reproduction project repository
No response
Version with bug
8.0.3
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 13
Did you find any workaround?
After working for some time (after a typo) running Debug builds, finding the bug takes too long. The Android logcat info is useless. I did not see any useful warning/error info using the default configuration of the developer environment either. Requests: Can the developer environment indicate in the editor window some warning/error for a resource that is a typo / missing Can the build process indicate in the output some warning/error for a resource that is a typo / missing Can the behavior (on device) of the Release build and Debug build be made the same for a resource that is a typo / missing (either both builds work or both builds fail)
Possibly related issues: https://github.com/dotnet/maui/issues/15602 https://github.com/dotnet/maui/issues/8928
Relevant log output