2 ms·
The size improvement is going to be really interesting to me. Currently I have to choose between shipping small Framework 4.8 apps, or the whole kitchen sink wi
by viraptor 5y ago
The size improvement is going to be really interesting to me. Currently I have to choose between shipping small Framework 4.8 apps, or the whole kitchen sink with .net 6 even for a trivial wpf+ef app. Trimming and readytorun did not produce significant improvements unfortunately.
- smcl 5y agoI haven't done much desktop/UI work but don't the small Framework 4.8 apps rely on the proverbial kitchen sink being pre-installed on a user's machine? Because afaik this is also possible with newer .NET [Core] applications, and indeed is the default. You just also have the option to publish and distribute a larger bundle which includes the runtime + required libraries.
- viraptor 5y agoCorrect. The difference is that 4.7/4.8 came preinstalled on win10 for years now. It can be uninstalled so you can't really rely on it, but... 99% of the time it works. If not, you tell the customer to install it. https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/versions-and-dependencies https://docs.microsoft.com/en-us/dotnet/framework/migration-...
- RachelF 5y agoI also had no luck with trimming.
- electroly 5y agoThe UI frameworks are hopelessly interlinked. I can't even get it to trim out WPF from an all-WinForms app. I don't have any hope that this will improve substantially for desktop apps; I'm sorta just happy they're still supporting our desktop UI frameworks at all.
- DeathArrow 5y agoWPF and Web Forms are almost dead. Now MAUI is taking over. I hope this one won't be dead, too, in a few years.
- viraptor 5y agoI don't get why people are repeating that. WPF is not dead, it's fully supported and the project has a future roadmap. (https://github.com/dotnet/wpf/blob/main/roadmap.md https://github.com/dotnet/wpf/blob/main/roadmap.md) MAUI is not taking over, it's not even released yet. We only just got a release candidate 3 this month. Looking at local job postings, WPF had hundreds of hits, while MAUI has... 3 "xamarin or maui" mentions.
- kant2002 5y agoWould you give a chance try trimming WinForms on .Net 7? I do expect it to be slightly better now