-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
In-PR 🚀feature request 📬A request for new changes to improve functionalityA request for new changes to improve functionalityin progress 🚧
Milestone
Description
Describe the problem this feature would solve
Trying to know what is the impact of the toolkit on the application final size, I've created two blank applications using Visual Studio. On one of them, I've added a dependency to Microsoft.Toolkit.Uwp.UI. I've only added the nuget dependency. I'm not using anything from the library.
Here are the sizes of the applications' dll when compiled in release using .Net Native:
| x86 | x64 | |
|---|---|---|
| Default blank app | 748 | 919 |
| Using Toolkit | 6,171 | 7,253 |
Values are in KB. .Net Native directives' files are empty..
This huge impact comes from the fact that the blank app template is super minimal.
On our application, we are seeing a 2MB increase on both x86 and x64. This is still an important impact (knowing that nothing is used).
Is there a way to reduce the impact of the toolkit on the final binary size ?
Sample projects
Metadata
Metadata
Assignees
Labels
In-PR 🚀feature request 📬A request for new changes to improve functionalityA request for new changes to improve functionalityin progress 🚧