Invalid Resource File

后端 未结 5 2608
感动是毒
感动是毒 2021-02-20 00:01

When attempting to compile my C# project, I get the following error:

\'C:\\Documents and Settings\\Dan\\Desktop\\Rowdy Pixel\\Apps\\CleanerMenu\\CleanerMenu\\obj         


        
5条回答
  •  失恋的感觉
    2021-02-20 00:26

    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).

提交回复
热议问题