Skip to content

UWP Crashes at Startup when built in Release mode when using some Icon Packs #292

@MarkIvanDev

Description

@MarkIvanDev

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:

  1. Extract and open the solution attached in this issue
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions