-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Release throws exception with local styles since last VS update #12316
Comments
Found workarounds:
I have so many problems each time I want to release my application with .Net MAUI and spend a lot of time searching why. |
I started getting this problem as well with the latest version. Only affects iOS in release |
I should point out that this has worked well in .net7 as well as .net6, but not after the latest update (first service release?) |
Hi @eli191. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
I totally agree with @eli191 in any point of view: for a person that writes code as professional it's not reasonable spending so much time to look for workarounds for platform bugs, and to work with a so unaffordable situation. I have a similar problem using datatriggers only in iOS only in release mode and only with physical device: the difference is that in my situation I can build without problem and I can only see the app crash runtime (and without other info because I'm in release). p.s. @eli191 how do you solved with converters? |
In the meantime I created a sample that crashes only in release mode on physical device on iOS, here: https://github.com/fgiacomelli/iosBug I made some other test founding that:
so it seems to be a regression. This sample crashes with both frameworks. In the meantime I can work with the older framework version but loosing all the improvements of latest versions, so we need a quick fix. Can you give us a timeline of when we can expect it will be fixed? |
Hi @fgiacomelli Yes, it is the same problem for me. Release is building without errors, but when executing the app on the device, the app crashes, and built with the previous VS version, it was working. For exemple, a trigger like this
can be changed to a
Thank you for the sample! |
It'sbeen three weeks, for a major bug that effectively renders the entire framework unusable, and there still hasn't been a single response from the team... |
@eli191 Perhaps if you update the bufæg description with the repro link from @fgiacomelli someone will take notice? |
@AbstractionsAs Done |
Welcome, hoping the fix will be quick. Thank you for the suggestion, in my situation I drive more than one property on each trigger, so it would be a lot of work translate all of them with converters. So I want to be trustful on MAUI, trying to use the previous sdk only for build the release version for iOS and hoping that we can found this and a lot of critical bugs fixed in next releases. @msftbot? |
Duplicate of #12316 |
@PureWeen |
news about this? I currently can't get the release version usable on ios physical device, this is a big issue |
in the meantime I found a workaround, as suggested here by @rolfbjarne , setting the interpreter in the csproj:
solve the problem for me |
Description
Hi,
Styles set like this
or like this
compile in Release mode but crashes the app, with exception in device console :
In
InitializeComponent()
Debug still fine.
Release was working before update.
Build uses Don't link option.
Please Help as this is blocking!
Steps to Reproduce
Link to public reproduction project repository
https://github.com/fgiacomelli/iosBug
Version with bug
7.0 (current)
Last version that worked well
6.0 Release Candidate 2 or older
Affected platforms
iOS, I was not able test on other platforms
Affected platform versions
iOS 16.2
Did you find any workaround?
No
Relevant log output
The text was updated successfully, but these errors were encountered: