Describe the bug
When building a UWP app in release mode, the application crashes at startup due to a StackOverflow exception. Building using debug mode does not result to a crash for ALL icons. This only happens with the following Icon Packs:
- Jam Icons
- Material
- Material Design
- Modern
- PICOL Icons
- Pixelart Icons
- Radix Icons
- Remix Icon
- RPG Awesome
- Simple Icons
- Typicons
- Unicons
- Vaadin Icons
- Zondicons
To Reproduce
Steps to reproduce the behavior:
- Extract and open the solution attached in this issue
- Uncomment the XAML tags for the Icon Packs marked with 'Bug' in the name and run in RELEASE mode.
Expected behavior
The app should not crash at startup
Desktop Environment (please complete the following information):
- IconPacks Version: 4.11.0
- Visual Studio: 2022
- UWP [10.0.17763 - 10.0.22000]
Repo
MahAppsIcons.zip
Additional context
This seems to be related to #138