hardcodet / wpf-notifyicon

NotifyIcon (aka system tray icon or taskbar icon) for the WPF platform
Other
810 stars 125 forks source link

Can't use another icon #22

Closed GonzaloCalandria closed 4 years ago

GonzaloCalandria commented 4 years ago

I'm new on WPF but I'm trying to work with the windowless project and I'm trying to use another icon and route.

What I did was to create a new folder called img in the project and then I've added an icon called green.ico Then in NotifyIconResources.xaml I've changed IconSource="Red.ico" with IconSource="/img/green.ico". When I run the program, I got an error IOException: Cannot locate resource 'green.ico'. What's happening? do I need to do something else?