How to avoid a build time error of
unable to build the application with specific icon file. RC2135: file not find <icon name>.ico
if using an icon from within a Standard Window like App Window, or a dialog box?
The error occurs as a result of not being able to find the .ico file in the project directories. This can be caused by either a nonexistent .ico file either in the local directory where the .app file is located or in the directories specified as the included libraries path. This can also happen if there is an .ico file; the name in the instance to this .ico file is incorrectly stated.
Every _icon instance must have its "filename" attribute point to the correct .ico file, as specified in the StandardWindow properties. Also, if it is not possible to have the .ico file in the same directory where the .app file is located, the included libraries field in the "Include" tab of the "Classes" Properties should contain the path to the directory where the .ico file is located. To verify the contents of the included libraries, highlight the word Classes (tree siblings of Libraries and Instances in the Aion IDE), do right-mouse click and choose Properties, then go to the "Directories" tab. In the second field, add the directory to the .ico files.