TLG 0 Posted February 27, 2022 Using Delphi Tokyo When building a Debug Version the Icon set in the Projects Options is correct for the Application Icon When building the Release Version it is using the Delphi Default Icon as the Application Icon I created a new project with just 1 form no components and still the same problem This had been working preciously over last 12 months. Any help appreciated. Share this post Link to post
Guest Posted February 27, 2022 (edited) Some platforms do not allow running applications that do not provide application icons. RAD Studio provides default application icons, so that you can test your application on any platform even if you do not have icons for your application yet. However, before you publish your application you must replace the default RAD Studio icons with custom icons for your application. The following sections explain how to configure your application to use your custom icons. https://docwiki.embarcadero.com/RADStudio/Sydney/en/Creating_and_Deploying_App_Icons https://stackoverflow.com/questions/39942848/wrong-icon-used-as-default-icon-after-loading-icons-from-a-res-file Edited February 27, 2022 by Guest Share this post Link to post
TLG 0 Posted February 27, 2022 Hi, Thanks for your Help. I have selected the icons that I wish to use in the Projects/Options It has been working for over a year. If I set to Debug Release, the Icon for the created Debug application is correct. If I set to Release Release, the Icon for the created Release application is the Default Delphi Icon Share this post Link to post
Pat Foley 51 Posted February 27, 2022 Maybe clicking in Projects window is needed. Share this post Link to post
Mike Torrettinni 198 Posted February 28, 2022 3 hours ago, TLG said: It has been working for over a year. There's probably many reasons why it suddenly doesn't work, in previous versions of Delphi when this happened to me it helped just to re-set the icons. So, clear icons to produce default Delphi icons, re-start IDE and set new icons. This usually worked for me, perhaps will for you. too. Share this post Link to post
Fraser 2 Posted September 15, 2022 I had this kind of problem. It is caused by Windows File Explorer having a cache of icons and not updating the cache. I have checked my icons in the exe with PE Explorer and tried another file manager called Explorer++ and this confirms where the problem is. Share this post Link to post
peardox 0 Posted October 19, 2022 Got here cos of the same issue - this is really annoying 🙂 Solution - paste this into Windows Explorer address bar %userprofile%\AppData\Local\Microsoft\Windows\Explorer Delete iconcache* Reboot Fixed Share this post Link to post