According to MSDN resource in this link Mage.exe
you should Specify the full path to an .ICO icon file , but it doesn't work ;-)
I copied the icon file in the debug folder of project beside the application .exe file and I used only "filename.extension" after -if or -IconFile commands like this: -if icon.ico