I have been developing a C# project for a few months now and using the resource manager to add bitmaps to my app. Before the June 2024 update (which introduced a new layout for the resource manager), I could simply drag and drop a .png into the resource manager window and VS would add it as a bitmap. I would then add the image as a glyph using a .ToBitmapSource() method.
Since the update, I cannot add a .png as a bitmap, they are automatically as a System.Byte object.
Any idea on how to add a bitmap ?
Many thanks !
Tried adding different image formats (.png, .jpg, .ico, etc.).
Tried forcing it as bitmap in the Resources.Designer.cs
Thomas Agostinis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1