When my application doesn't have any icon resources, all other resources and code produce a 121kb exe file. Then, I manually add the application icon resource to the "Resources.resx" file under the "Icons" category. After that, I compile the application again and since my icon has 66kb, the exe becomes 187kb. Then I open my application project settings and set the application icon by selecting it from the dropdown. After compiling the application again, the exe is now 253kb (187 + 66).
How is that possible? I'm using the same resource, why does the exe size increases like this?
That's not what I meant:) I like the tabs being above the URL bar, but previously the tab selection started from the top of the screen (y=0). So I could just quickly push my mouse up and done. Now I have to actually aim it just slightly below the top, because the tab is now a few pixels below the top.
In other words, previously I only had to aim with my mouse horizontally, now I have to both vertically and horizontally. Super annoying.
Question
ProclaimDragon
Hi,
When my application doesn't have any icon resources, all other resources and code produce a 121kb exe file. Then, I manually add the application icon resource to the "Resources.resx" file under the "Icons" category. After that, I compile the application again and since my icon has 66kb, the exe becomes 187kb. Then I open my application project settings and set the application icon by selecting it from the dropdown. After compiling the application again, the exe is now 253kb (187 + 66).
How is that possible? I'm using the same resource, why does the exe size increases like this?
Anyway to workaround the problem?
Link to comment
https://www.neowin.net/forum/topic/697316-c-icon-resource-is-duplicate-in-the-built-executable/Share on other sites
17 answers to this question
Recommended Posts