How to change app icon based on the configuration in MAUI

Manuele Lucchi 1 Reputation point

My application is white label, so depending on the configuration I need to specify a different app icon.
Right now if I select an app icon named differently from appicon and in a different folder than resources, it doesn't work. But this makes me unable to change it based on the configuration (I would for example use the same name but a different subdirectory)

Any advice?

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,821 questions
{count} votes