Excluding Assemblies from Trimming in .NET MAUI

How I fixed a mysterious Release build crash in my .NET MAUI app by excluding Akavache from trimming using a Linker.xml file.