You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Publish using Native AOT says to enable IsAotCompatible for all platforms (even on Android where it is not supported). However, building a MAUI 9 project with the project file setting IsAotCompatible to true gives this warning that IsAotCompatible is not supported on Android:
/usr/local/share/dotnet/sdk/9.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(90,5): warning NETSDK1210:
IsAotCompatible and EnableAotAnalyzer are not supported for the target framework. Consider multi-targeting to a supported framework to enable ahead-of-time compilation analysis, and set IsAotCompatible only for the supported frameworks. For example:
<IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">true</IsAotCompatible>
The text was updated successfully, but these errors were encountered:
Publish using Native AOT says to enable
IsAotCompatible
for all platforms (even on Android where it is not supported). However, building a MAUI 9 project with the project file settingIsAotCompatible
totrue
gives this warning thatIsAotCompatible
is not supported on Android:The text was updated successfully, but these errors were encountered: