-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
iOS app size increases when updating from .NET 8 to .NET 9 #26980
Comments
We've found some similar issues:
If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.
|
This issue has been verified using Visual Studio 17.13.0 Preview 2.1 (9.0.21 & 8.0.100). Cannot repro this issue on iOS platform. |
Hi Ying. It´s after publishing the .ipa to TestFlight. The size appears in "app-information" in TestFlight / App Store. |
Hi @thomasbach-dk, sorry, I want to confirm with you again, are you referring to the Size here? |
The difference in size in your case is not that big. Is it a .NET MAUI Blazor project you have published aswell? For clarification I should mention that our .NET MAUI Blazor project is referring a RCL. Futhermore I have attached screendumps showing the nuget packages that are referenced in both the MAUI project and the RCL. |
Which specific net maui 8 version are you referring to? |
We are using these MAUI-related nuget packages of version 8.0.92: And CommunityToolkit.Maui version 9.0.3 The solution is configured to use the latest available minor of .NET 8. We are using the macos-15 runner within Github Actions in which 8.0.404 is the newest included version of .NET 8 SDK. |
Description
We have a .NET MAUI Blazor app which is published to production using .NET 8.
I have just published the app after changing to .NET 9. The size of the app has increased from 58MB to 72MB. What can explain this behavior? Is it a bug, or am I missing something?
Thanks in advance
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
9.0.21 SR2.1
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.100 SR10
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: