Edit

Share via


Cannot specify both /win32icon and /win32resource

The /win32resource and /win32icon options are mutually exclusive, because they both insert icons information into the output file.

Error ID: BC2023

To correct this error

  • Use only the /win32icon option to insert an .ico file in the output file. This .ico file represents the output file in Windows Explorer.

    — or —

  • Use only the /win32resource option to insert a Win32 resource file in the output file. A Win32 resource can contain version or bitmap (icon) information that helps identify your application in Windows Explorer.

See also