Invalid Resource File

I don't know if this will help, but from this forum:

Add an .ico file to the application section of the properties page, and recieved the error thats been described, when I checked the Icon file with an icon editor, it turn out that the file had more than one version of the image ie (16 x 16, 24 x 24, 32 x 32, 48 x 48 vista compressed), I removed the other formats that I didnt want resaved the file (just with 32x 32) and the application now compiles without error.

Try opening the icon in an icon editor and see if you see other formats like described (also, try removing the icon and seeing if the project will build again, just to verify the icon is causing it).


I had a similar issue with an "obj/debug/*.tmp" file erroring out in my build log. Turns out my C:\ drive was out of space. After clearing some space, my builds started working.