Compiler Error CS1567

Error generating Win32 resource: 'file'

Your compilation either used the /win32icon compiler option or did not use /win32res, which causes the compiler to generate a file that contains resource information, but the compiler was unable to create the file due to insufficient disk space or some other error.

If you are unable to resolve the file-generation problem, you could use /win32res, which does not generate a file that contains resource information.