Preserve attribute vs LinkDescription.xml for reflection types in Xamarin.Forms Release builds
A Xamarin.Forms 5.x solution uses types that are only accessed via reflection for DI, JSON serialization, or attribute scanning. The managed linker is typically disabled in Debug and enabled in Release, which can strip metadata that is not statically referenced. Two documented mitigation approaches exist for this behavior. Applying [Preserve(AllMembers=true)