Set a different ApplicationIcon for each build configuration

后端 未结 1 1294
我在风中等你
我在风中等你 2021-01-06 04:55

I\'m trying to set a different Icon for each build configuration of my C# project (using VS 2010 pro). One config is for a different customer, thus that config should use a

相关标签:
1条回答
  • 2021-01-06 05:40

    It probably actually does work. It is just something you can't easily see. Windows Explorer has this really awkward habit of storing icons for programs in the icon cache. So if you run an .exe with one icon then it stores the icon in the cache. To be available quickly later whenever it is needed again. An optimization, digging an icon out of an .exe file is slow.

    Resetting the cache is possible but is awkward, best to ask at superuser.com for a good procedure. Or just check it with Visual Studio. File + Open + File, select the .exe, open the Icons node and double-click the entry.

    0 讨论(0)
提交回复
热议问题