I am using an icon in my application in two situations.
- In XAML as an Image for the Button using DynamicResource.
In C# as NotifyIcon
this.notifyIcon.Icon = new SystemDrawing.Icon("..//..//Shutdown.ico" );
My problem is if I delete the image the application not working. How can I bind the image with the exe file so that the application can run only with the exe file?