I was planning to upgrade WinForms applications from .NET Framework to .NET 6, but unfortunately trimming is disabled for Windows Forms and WPF applications in .NET 6. https://docs.microsoft.com/en-us/dotnet/core/deploying/trimming/incompatibilities. This rules out a stand-alone deployment since each install will now be well over 100MB (currently, my .NET Framework versions have a 2MB install). In .NET 5, with trimming still allowed for WinForms, this was less than 50MB, which may have been borderline acceptable, but I'd like to use .NET 6.
The framework-dependent build option unfortunately has the critical error message box "To run this application you must install .NET Desktop Runtime 6.0.0". The appearance of this message is sure to scare off a certain segment of potential customers (the critical error red x, etc.) from even bothering to install the trial/demo/free edition.
Is there another option? I'm using InnoSetup, so any option has to be compatible with this.