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?
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 changedIconSource="Red.ico"
withIconSource="/img/green.ico"
. When I run the program, I got an errorIOException: Cannot locate resource 'green.ico'.
What's happening? do I need to do something else?