App icon not showing in build (.NET Maui build on Windows)

Travis Park 1 Reputation point

Hey, so I'm making an app and I'm trying to change the app icon (you know, the icon that shows in your taskbar) but what i tried doesn't work. This is a code snippet from my .csproj file

<!-- App Icon --> <MauiIcon Include="Resources\app_icon.png" ForegroundFile="Resources\app_icon.png" IsAppIcon="true"/>

I double checked to make sure all the file names and locations were correct. Is there something I'm missing?

(Bonus points if you can tell me how to change the app to be a fixed resolution, un-sizeable window)

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
34,984 questions
{count} votes