'Using .ico files as icons when creating executables in DrRacket IDE

I have a simple question. Whenever I create a stand-alone application from the DrRacket IDE, I want to use an .ico file as the icon for the file. The acceptable dimensions are 16x16, 32x32, or 48x48. However, whenever I attempt I attach an .ico files to use, DrRacket just creates the executable with the default DrRacket icon. Does anyone have any idea why this is occurring?



Solution 1:[1]

Raco contains a command line option to supply an .ICO file for the resulting executable. See http://docs.racket-lang.org/raco/exe.html:

raco exe -ico /path/to/icon.ico

Solution 2:[2]

I don't know if I got the same error, but I had one and I solved using .ICO files instead of .ico

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Robert Harvey
Solution 2 Andrea Virgillito