Could not add version resource to executable file (Error 1181)

The resource could not be added to the executable file at build time.