Description
In Debug, non-user assemblies are compiled into an R2R composite image, while user assemblies are excluded via PublishReadyToRunExclude and left interpreted. XAML-generated logic (primarily InitializeComponent methods) might be slow and could benefit from R2R compilation.
To address this without invalidating the existing composite cache, a new tool in MAUI generates a MIBC file that lists only the methods produced by the XAML compilers. The idea is to produces a separate, smaller R2R image containing only XAML-generated methods, keeping it distinct from the R2R composite so that it can be invalidated and regenerated independently on rebuild.
Tasks
Description
In Debug, non-user assemblies are compiled into an R2R composite image, while user assemblies are excluded via PublishReadyToRunExclude and left interpreted. XAML-generated logic (primarily InitializeComponent methods) might be slow and could benefit from R2R compilation.
To address this without invalidating the existing composite cache, a new tool in MAUI generates a MIBC file that lists only the methods produced by the XAML compilers. The idea is to produces a separate, smaller R2R image containing only XAML-generated methods, keeping it distinct from the R2R composite so that it can be invalidated and regenerated independently on rebuild.
Tasks