The program is compiled with the /resource option, but the resource file specified does not have the correct format. The file may be corrupt, or it might not be a resource file.
To correct this error
-
Make sure that the file specified with the /resource option is a valid resource file.