iosmauiappicon

Icon changes not deployed to the ios device / .NET Maui Visual Studio 2022 17.4.2 on Windows 10


Has anyone a workaround for this under Visual Studio 2022 / Windows 10?

<!-- App Icon -->
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" />


Solution

  • Did you use Hot Restart to deploy from Windows to iOS devices? If so, iOS Hot Restart does not currently support using asset catalogs. This is a problem that exists in Xamarin.Forms, and it is the same in Maui. When using Hot Restart, your app will show the default icon and launch screen. When paired to a Mac, or developing on a Mac, your Asset Catalogs will work.

    For more details, you can check the official documentation:

    Xamarin Hot Restart | Microsoft

    Maui Hot Restart | Microsoft