I created a WPF app using c# in which I have ContextMenuStrip with images.. I am using custom action to launch my application after installation.. As App launches first time it gives me exception System.IO.FileNotFoundException
but when it is launched manually by double clicking desktop icon no exception is raised and works fine and all images are shown.. here's code of using image..
titleMenuItem.Image = System.Drawing.Image.FromFile("setting.ico")
but when I run application in visual studio no exception is raised.. and I am using visual studio installer if it matters..
What I have tried:
I tried putting the images in bin/debug folder of project and in Application Folder of setup..