mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
MenuItem Icon exception. #320
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Tum4ik on GitHub (May 20, 2019).
Originally assigned to: @GregorBiswanger on GitHub.
Hi.
I've created a simple tray application. I tried to add icon to some menu item, but it fails.
Here is the exception popup

May be it supports only some specific image formats? Help me pls to understand or figure it out.
Thanks!
@GregorBiswanger commented on GitHub (May 20, 2019):
This is a native electron problem. You need a complete path to the picture.
https://github.com/electron/electron/issues/7657
Solution for Electron.NET:
@Tum4ik commented on GitHub (May 21, 2019):
Nice! Many thanks.