.NET 8 and Trimming
In .NET 6, trimming worked pretty well, even if your assemblies weren’t annotated properly. In .NET 7 and now with .NET 8, things have changed, and trying to trim with the same project files and settings will cause everything to …