❔ WPF add Icon
Why when I add in .xaml Icon="favicon.ico" MainWindow said: IOException: Resouce favicon.ico not found.?
When I have in my project that file. I try other images but same problem. I have to install something to add icons?
3 Replies
Have you set the icon's build action to Resource?
Is the icon located within the same directory as MainWindow?
Do you have copy to output on build on?
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.