Build time in excess of 20 minutes (Release mode) #16504
-
Is it normal for a fairly small MAUI android application to take longer than 20 minutes to build? It just seems like an incredibly long time to publish an app. Extract from console:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
We found the same when building locally, and ended up creating a separate profile called production, because the release mode of MAUI was causing bugs that were not present in Debug etc. We utilised a lot of the same build settings to help shrink the file/improve performance, so we didn't really lose anything in the process. Release mode for MAUI still appears to be buggy at present |
Beta Was this translation helpful? Give feedback.
-
I also frequently get 20-minute build-times when building in Release mode. So I changed my Release mode settings to be a bit more similar to my Debug mode settings. Namely, my Release mode now does the following:
|
Beta Was this translation helpful? Give feedback.
-
I've also run into this problem building locally and it's incredibly painful and disruptive. In fact, I'm not even sure how long build times take because I tried a few times and killed them after 20+ minutes. I found that I can get a faster build time by disabling the LLVM compiler. This brings my build times to 6-7 minutes. By comparison debug builds are 2-3 minutes. I feel like this wasn't a problem back when I was using Xamarin. There is an issue here, I encourage anyone having this problem to comment or upvote on the issue: |
Beta Was this translation helpful? Give feedback.
-
I'm facing the same issue, building in a Mac M1Pro - for iOS - a build is already 20 mins and not finished!!!! |
Beta Was this translation helpful? Give feedback.
I also frequently get 20-minute build-times when building in Release mode. So I changed my Release mode settings to be a bit more similar to my Debug mode settings.
Namely, my Release mode now does the following: