How to change app icon based on the configuration in MAUI

Manuele Lucchi 1 Reputation point
2022-06-24T16:11:57.71+00:00

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?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
{count} votes