App Icon
Last updated
Last updated
By default FlatRedBall templates display the FlatRedBall icon or the MonoGame icon depending on platform. This article discusses how to add icons to your project.
A Desktop GL application needs 2 files:
.ico - used to display the .exe icon
.bmp - used to display the icon on the Windows taskbar
To change the icon on your game's .exe:
Open the folder where your .csproj is located. This is the same folder as your Glue file (.glux)
Locate Icon.ico
Open the Icon.ico to edit it, or replace it with an existing .ico file. Note that the file must still be called Icon.ico.
If you have changed your .ico file you may still see the old icon in Windows Explorer. Windows caches .ico files so you need to clear the cache. For more information see the following link: https://neosmart.net/wiki/clear-icons-cache/ To change the icon in the taskbar and on the window:
Open the folder where your .csproj is located
Create or replace an Icon.bmp file
If not already added:
Add the Icon.bmp to your Visual Studio game project - verify that the file is in the root of the folder
Mark the Icon.bmp file as an Embedded Resource
For more information, see this GitHub discussion: https://github.com/MonoGame/MonoGame/issues/5411 Additional info for DesktopGL: https://github.com/MonoGame/MonoGame/issues/8035#issuecomment-1557429524 And... https://github.com/MonoGame/MonoGame/pull/8036