For those devs using .Net Maui and running into release-mode compiling issues...
After much fly-by-night analyzing and research compile issues, I found that if you add this to your .csproj file, you will eliminate compile-time introduced errors.
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net9.0-ios|AnyCPU'"> <MtouchUseLlvm>True</MtouchUseLlvm> <MtouchLink>SdkOnly</MtouchLink> <UseInterpreter>true</UseInterpreter> <MtouchInterpreter>all</MtouchInterpreter> </PropertyGroup>
Other issues are likely you code...
So far, problem solved, app running well in release mode on all 3 platforms.
Next hurdle - getting through the various app store approvals.
Hope that helps a few devs here.
Topic:
Developer Tools & Services
SubTopic:
General
Tags: